WebKitRenderer.st
changeset 16 ee672c89d1b4
parent 15 f46eba00e7cb
child 17 47ca84a7375e
--- a/WebKitRenderer.st	Fri Jun 10 09:06:56 2011 +0000
+++ b/WebKitRenderer.st	Fri Jun 10 12:29:34 2011 +0000
@@ -14,19 +14,6 @@
 	privateIn:WebKitRenderer
 !
 
-
-!WebKitRenderer class methodsFor:'initialization'!
-
-initialize
-    "Invoked at system start or when the class is dynamically loaded."
-
-    "/ please change as required (and remove this comment)
-
-    UzblCorePath := ((Smalltalk packageDirectoryForPackageId: 'stx:libwebkit') / 'uzbl' / 'uzbl-core') pathName
-
-    "Modified: / 10-06-2011 / 10:00:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-! !
-
 !WebKitRenderer class methodsFor:'instance creation'!
 
 for: aWebKitView
@@ -41,6 +28,9 @@
 
 uzblCorePath
 
+    UzblCorePath ifNil:[
+        UzblCorePath := ((Smalltalk packageDirectoryForPackageId: 'stx:libwebkit') / 'uzbl' / 'uzbl-core') pathName.
+    ].
     ^UzblCorePath
 
     "Created: / 10-06-2011 / 09:56:07 / Jan Vrany <jan.vrany@fit.cvut.cz>"
@@ -568,5 +558,3 @@
 version_SVN
     ^ '$Id$'
 ! !
-
-WebKitRenderer initialize!