Parcourir la source

Export using 'slots:' API.

Herby Vojčík il y a 5 ans
Parent
commit
ad78c0474a
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 2 2
      src/Silk-Tests.st
  2. 1 1
      src/Silk.st

+ 2 - 2
src/Silk-Tests.st

@@ -1,7 +1,7 @@
 Smalltalk createPackage: 'Silk-Tests'!
 (Smalltalk packageAt: 'Silk-Tests' ifAbsent: [ self error: 'Package not created: Silk-Tests' ]) imports: {'amber/jquery/Wrappers-JQuery'}!
 DOMiteTest subclass: #SilkInheritedTest
-	instanceVariableNames: ''
+	slots: {}
 	package: 'Silk-Tests'!
 
 !SilkInheritedTest methodsFor: 'fixture'!
@@ -11,7 +11,7 @@ testedClass
 ! !
 
 TestCase subclass: #SilkTest
-	instanceVariableNames: 'fixtureDiv'
+	slots: {#fixtureDiv}
 	package: 'Silk-Tests'!
 
 !SilkTest methodsFor: 'fixture'!

+ 1 - 1
src/Silk.st

@@ -1,6 +1,6 @@
 Smalltalk createPackage: 'Silk'!
 Domite subclass: #Silk
-	instanceVariableNames: ''
+	slots: {}
 	package: 'Silk'!
 !Silk commentStamp!
 I am subclass of `Domite` with more convenient high-level API.