ソースを参照

Merge pull request #751 from herby/cleaning

remove forgotten `BrowserInterface class` variables
Nicolas Petton 10 年 前
コミット
1387407ad2
2 ファイル変更0 行追加3 行削除
  1. 0 1
      js/Canvas.js
  2. 0 2
      st/Canvas.st

+ 0 - 1
js/Canvas.js

@@ -93,7 +93,6 @@ referencedClasses: []
 smalltalk.BrowserInterface);
 
 
-smalltalk.BrowserInterface.klass.iVarNames = ['uiWorker','ajaxWorker'];
 
 smalltalk.addClass('HTMLCanvas', smalltalk.Object, ['root'], 'Canvas');
 smalltalk.HTMLCanvas.comment="I am a canvas for building HTML.\x0a\x0aI provide the `#tag:` method to create a `TagBrush` (wrapping a DOM element) and convenience methods in the `tags` protocol.\x0a\x0a## API\x0a\x0aMy instances are used as the argument of the `#renderOn:` method of `Widget` objects.\x0a\x0aThe `#with:` method is used to compose HTML, nesting tags. `#with:` can take a `TagBrush`, a `String`, a `BlockClosure` or a `Widget` as argument.\x0a\x0a## Usage example:\x0a\x0a    aCanvas a \x0a        with: [ aCanvas span with: 'click me' ];\x0a        onClick: [ window alert: 'clicked!' ]";

+ 0 - 2
st/Canvas.st

@@ -41,8 +41,6 @@ isAvailable
 <return typeof window !!== "undefined" && typeof jQuery !!== "undefined">
 ! !
 
-BrowserInterface class instanceVariableNames: 'uiWorker ajaxWorker'!
-
 Object subclass: #HTMLCanvas
 	instanceVariableNames: 'root'
 	package: 'Canvas'!