Browse Source

Export using 'slots:' API.

Herby Vojčík 5 years ago
parent
commit
ad78c0474a
2 changed files with 3 additions and 3 deletions
  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.