Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
...inKit-Tests.package/SpinKitMetadataLibraryTest.class/instance/testVersionCompatibility.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
tests | ||
testVersionCompatibility | ||
|
||
self assert: SpinKitMetadataLibrary version equals: SpinKitOnlineLibrary default version |
1 change: 1 addition & 0 deletions
1
source/Willow-SpinKit-Tests.package/SpinKitOnlineLibraryTest.class/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
A SpinKitOnlineLibraryTest is a test class for testing the behavior of SpinKitOnlineLibrary |
14 changes: 14 additions & 0 deletions
14
...ce/Willow-SpinKit-Tests.package/SpinKitOnlineLibraryTest.class/instance/testUpdateRoot.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
tests | ||
testUpdateRoot | ||
|
||
| html | | ||
|
||
html := WAHtmlCanvas builder | ||
fullDocument: true; | ||
rootBlock: [ :root | SpinKitOnlineLibrary default updateRoot: root ]; | ||
render: [ :canvas | ]. | ||
|
||
self | ||
assert: html | ||
equals: | ||
'<html><head><title></title><link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/spinkit/1.2.5/spinkit.min.css" integrity="sha384-KJ47Cczl/rtfDKmrmOi4gRjk338/m5tSeJ3q6GkrCl1SESmi8FL+E4nw4Nn2xw7OF" crossorigin="anonymous"/></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>' |
11 changes: 11 additions & 0 deletions
11
source/Willow-SpinKit-Tests.package/SpinKitOnlineLibraryTest.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"commentStamp" : "<historical>", | ||
"super" : "WillowTestCase", | ||
"category" : "Willow-SpinKit-Tests", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "SpinKitOnlineLibraryTest", | ||
"type" : "normal" | ||
} |
1 change: 1 addition & 0 deletions
1
source/Willow-SpinKit.package/SpinKitOnlineLibrary.class/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
I'm a library serving files from the official CDN |
9 changes: 9 additions & 0 deletions
9
source/Willow-SpinKit.package/SpinKitOnlineLibrary.class/instance/updateRoot..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
versions | ||
updateRoot: aRoot | ||
|
||
aRoot stylesheet | ||
url: ( | ||
'https://cdnjs.cloudflare.com/ajax/libs/spinkit/<1s>/spinkit.min.css' | ||
expandMacrosWith: self version); | ||
anonymousSubResourceIntegrity: | ||
'sha384-KJ47Cczl/rtfDKmrmOi4gRjk338/m5tSeJ3q6GkrCl1SESmi8FL+E4nw4Nn2xw7OF' |
4 changes: 4 additions & 0 deletions
4
source/Willow-SpinKit.package/SpinKitOnlineLibrary.class/instance/version.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
versions | ||
version | ||
|
||
^ '1.2.5' |
11 changes: 11 additions & 0 deletions
11
source/Willow-SpinKit.package/SpinKitOnlineLibrary.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"commentStamp" : "GabrielOmarCotelli 11/1/2017 15:42", | ||
"super" : "WillowOnlineLibrary", | ||
"category" : "Willow-SpinKit", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "SpinKitOnlineLibrary", | ||
"type" : "normal" | ||
} |