-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from ba-st/jquery2
JQuery 2 Libraries
- Loading branch information
Showing
46 changed files
with
10,119 additions
and
1 deletion.
There are no files selected for viewing
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,19 @@ | ||
{ | ||
"name": "willow", | ||
"version": "4.0.0", | ||
"author": "Buenos Aires Smalltalk contributors", | ||
"license": "MIT", | ||
"dependencies": { | ||
"jquery": "2.2.4" | ||
} | ||
, | ||
"description": "Jquery2 and Willow integration", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/ba-st/willow.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/ba-st/willow/issues" | ||
}, | ||
"homepage": "https://github.com/ba-st/willow" | ||
} |
Empty file.
6 changes: 6 additions & 0 deletions
6
...ow-Tests.package/JQuery2DeploymentMetadataLibraryTest.class/instance/testHandlesFolder.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,6 @@ | ||
tests | ||
testHandlesFolder | ||
|
||
self | ||
assert: (JQuery2DeploymentMetadataLibrary handlesFolder: JQuery2DeploymentMetadataLibrary folderName); | ||
deny: (JQuery2DeploymentMetadataLibrary handlesFolder: #files) |
6 changes: 6 additions & 0 deletions
6
...ow-Tests.package/JQuery2DeploymentMetadataLibraryTest.class/instance/testHanldesFolder.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,6 @@ | ||
tests | ||
testHanldesFolder | ||
|
||
self | ||
assert: (JQuery2DeploymentMetadataLibrary handlesFolder: JQuery2DeploymentMetadataLibrary folderName); | ||
deny: (JQuery2DeploymentMetadataLibrary handlesFolder: #files) |
6 changes: 6 additions & 0 deletions
6
...-Tests.package/JQuery2DeploymentMetadataLibraryTest.class/instance/testIsForDeployment.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,6 @@ | ||
tests | ||
testIsForDeployment | ||
|
||
self | ||
assert: JQuery2DeploymentMetadataLibrary isForDeployment; | ||
deny: JQuery2DeploymentMetadataLibrary isForDevelopment |
6 changes: 6 additions & 0 deletions
6
...w-Tests.package/JQuery2DeploymentMetadataLibraryTest.class/instance/testIsForDeplyment.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,6 @@ | ||
tests | ||
testIsForDeplyment | ||
|
||
self | ||
assert: JQuery2DeploymentMetadataLibrary isForDeployment; | ||
deny: JQuery2DeploymentMetadataLibrary isForDevelopment |
14 changes: 14 additions & 0 deletions
14
...illow-Tests.package/JQuery2DeploymentMetadataLibraryTest.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 | JQuery2DeploymentMetadataLibrary default updateRoot: root ]; | ||
render: [ :canvas | ]. | ||
|
||
self | ||
assert: html | ||
equals: | ||
'<html><head><title></title><script type="text/javascript" src="/files/jQuery-2.2.4/jquery-2.2.4.min.js"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>' |
8 changes: 8 additions & 0 deletions
8
source/Willow-Tests.package/JQuery2DeploymentMetadataLibraryTest.class/methodProperties.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,8 @@ | ||
{ | ||
"instance" : { | ||
"testIsForDeplyment" : "isosa 6/27/2017 10:27", | ||
"testUpdateRoot" : "isosa 6/27/2017 10:30", | ||
"testHanldesFolder" : "isosa 6/27/2017 10:28" | ||
}, | ||
"class" : { } | ||
} |
11 changes: 11 additions & 0 deletions
11
source/Willow-Tests.package/JQuery2DeploymentMetadataLibraryTest.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" : "", | ||
"super" : "TestCase", | ||
"category" : "Willow-Tests-Libraries", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "JQuery2DeploymentMetadataLibraryTest", | ||
"type" : "normal" | ||
} |
Empty file.
6 changes: 6 additions & 0 deletions
6
...w-Tests.package/JQuery2DevelopmentMetadataLibraryTest.class/instance/testHandlesFolder.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,6 @@ | ||
tests | ||
testHandlesFolder | ||
|
||
self | ||
assert: (JQuery2DevelopmentMetadataLibrary handlesFolder: JQuery2DevelopmentMetadataLibrary folderName); | ||
deny: (JQuery2DevelopmentMetadataLibrary handlesFolder: #files) |
6 changes: 6 additions & 0 deletions
6
...ests.package/JQuery2DevelopmentMetadataLibraryTest.class/instance/testIsForDevelopment.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,6 @@ | ||
tests | ||
testIsForDevelopment | ||
|
||
self | ||
assert: JQuery2DevelopmentMetadataLibrary isForDevelopment; | ||
deny: JQuery2DevelopmentMetadataLibrary isForDeployment |
14 changes: 14 additions & 0 deletions
14
...llow-Tests.package/JQuery2DevelopmentMetadataLibraryTest.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 | JQuery2DevelopmentMetadataLibrary default updateRoot: root ]; | ||
render: [ :canvas | ]. | ||
|
||
self | ||
assert: html | ||
equals: | ||
'<html><head><title></title><script type="text/javascript" src="/files/jQuery-2.2.4/jquery-2.2.4.js"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>' |
8 changes: 8 additions & 0 deletions
8
...ce/Willow-Tests.package/JQuery2DevelopmentMetadataLibraryTest.class/methodProperties.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,8 @@ | ||
{ | ||
"instance" : { | ||
"testIsForDevelopment" : "isosa 6/27/2017 10:25", | ||
"testHandlesFolder" : "isosa 6/26/2017 20:54", | ||
"testUpdateRoot" : "isosa 6/27/2017 10:20" | ||
}, | ||
"class" : { } | ||
} |
11 changes: 11 additions & 0 deletions
11
source/Willow-Tests.package/JQuery2DevelopmentMetadataLibraryTest.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" : "", | ||
"super" : "TestCase", | ||
"category" : "Willow-Tests-Libraries", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "JQuery2DevelopmentMetadataLibraryTest", | ||
"type" : "normal" | ||
} |
Empty file.
4 changes: 4 additions & 0 deletions
4
...e/Willow-Tests.package/JQuery2FileMetadataLibraryTest.class/instance/testForDeployment.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 | ||
testForDeployment | ||
|
||
self assert: JQuery2MetadataLibrary forDeployment equals: JQuery2DeploymentMetadataLibrary |
4 changes: 4 additions & 0 deletions
4
.../Willow-Tests.package/JQuery2FileMetadataLibraryTest.class/instance/testForDevelopment.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 | ||
testForDevelopment | ||
|
||
self assert: JQuery2MetadataLibrary forDevelopment equals: JQuery2DevelopmentMetadataLibrary |
4 changes: 4 additions & 0 deletions
4
source/Willow-Tests.package/JQuery2FileMetadataLibraryTest.class/instance/testLibraryName.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 | ||
testLibraryName | ||
|
||
self assert: JQuery2MetadataLibrary libraryName equals: 'jQuery' |
4 changes: 4 additions & 0 deletions
4
source/Willow-Tests.package/JQuery2FileMetadataLibraryTest.class/instance/testVersion.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 | ||
testVersion | ||
|
||
self assert: JQuery2MetadataLibrary version equals: '2.2.4' |
6 changes: 6 additions & 0 deletions
6
...w-Tests.package/JQuery2FileMetadataLibraryTest.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,6 @@ | ||
tests | ||
testVersionCompatibility | ||
|
||
self | ||
assert: JQuery2DeploymentMetadataLibrary version equals: JQuery2DevelopmentMetadataLibrary version; | ||
assert: JQuery2DeploymentMetadataLibrary version equals: JQuery2OnlineLibrary default version |
10 changes: 10 additions & 0 deletions
10
source/Willow-Tests.package/JQuery2FileMetadataLibraryTest.class/methodProperties.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,10 @@ | ||
{ | ||
"instance" : { | ||
"testLibraryName" : "isosa 6/29/2017 10:44", | ||
"testForDeployment" : "isosa 6/29/2017 10:42", | ||
"testForDevelopment" : "isosa 6/29/2017 10:43", | ||
"testVersion" : "isosa 6/29/2017 10:45", | ||
"testVersionCompatibility" : "isosa 6/29/2017 10:47" | ||
}, | ||
"class" : { } | ||
} |
11 changes: 11 additions & 0 deletions
11
source/Willow-Tests.package/JQuery2FileMetadataLibraryTest.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" : "", | ||
"super" : "TestCase", | ||
"category" : "Willow-Tests-Libraries", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "JQuery2FileMetadataLibraryTest", | ||
"type" : "normal" | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
source/Willow.package/JQuery2DeploymentMetadataLibrary.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 WALibary serving the files in source form, suitable for deployment |
4 changes: 4 additions & 0 deletions
4
source/Willow.package/JQuery2DeploymentMetadataLibrary.class/class/isForDeployment.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 @@ | ||
testing | ||
isForDeployment | ||
|
||
^ true |
9 changes: 9 additions & 0 deletions
9
source/Willow.package/JQuery2DeploymentMetadataLibrary.class/instance/jquery224minJs.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 @@ | ||
uploaded metadata | ||
jquery224minJs | ||
|
||
<ignoreforCoverage> | ||
^ WAFileLibraryResource | ||
filepath: 'jquery-2.2.4.min.js' | ||
mimeType: (WAMimeType main: 'application' sub: 'x-javascript') | ||
cacheDuration: self defaultCacheDuration | ||
contents: (GRDelayedSend receiver: self selector: #jquery224minJsContent) |
8 changes: 8 additions & 0 deletions
8
...e/Willow.package/JQuery2DeploymentMetadataLibrary.class/instance/jquery224minJsContent.st
Large diffs are not rendered by default.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
source/Willow.package/JQuery2DeploymentMetadataLibrary.class/instance/selectorsToInclude.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,5 @@ | ||
accessing | ||
selectorsToInclude | ||
|
||
<ignoreForCoverage> | ||
^ #(jquery224minJs) |
10 changes: 10 additions & 0 deletions
10
source/Willow.package/JQuery2DeploymentMetadataLibrary.class/methodProperties.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,10 @@ | ||
{ | ||
"instance" : { | ||
"jquery224minJs" : "isosa 6/27/2017 10:22", | ||
"jquery224minJsContent" : "isosa 6/27/2017 10:22", | ||
"selectorsToInclude" : "isosa 6/27/2017 10:22" | ||
}, | ||
"class" : { | ||
"isForDeployment" : "isosa 6/22/2017 09:09" | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
source/Willow.package/JQuery2DeploymentMetadataLibrary.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" : "JQuery2MetadataLibrary", | ||
"category" : "Willow-Libraries", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "JQuery2DeploymentMetadataLibrary", | ||
"type" : "normal" | ||
} |
1 change: 1 addition & 0 deletions
1
source/Willow.package/JQuery2DevelopmentMetadataLibrary.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 WALibary serving the files in source form, suitable for development |
4 changes: 4 additions & 0 deletions
4
source/Willow.package/JQuery2DevelopmentMetadataLibrary.class/class/isForDeployment.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 @@ | ||
testing | ||
isForDeployment | ||
|
||
^ false |
9 changes: 9 additions & 0 deletions
9
source/Willow.package/JQuery2DevelopmentMetadataLibrary.class/instance/jquery224Js.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 @@ | ||
uploaded metadata | ||
jquery224Js | ||
|
||
<ignoreForCoverage> | ||
^ WAFileLibraryResource | ||
filepath: 'jquery-2.2.4.js' | ||
mimeType: (WAMimeType main: 'application' sub: 'x-javascript') | ||
cacheDuration: self defaultCacheDuration | ||
contents: (GRDelayedSend receiver: self selector: #jquery224JsContent) |
Oops, something went wrong.