Skip to content

Commit

Permalink
Merge pull request #210 from ba-st/jquery_3.6
Browse files Browse the repository at this point in the history
Update jQuery to 3.6.0
  • Loading branch information
gcotelli authored Apr 20, 2022
2 parents 468f6c6 + 50c8fcd commit b3865e6
Show file tree
Hide file tree
Showing 10 changed files with 151 additions and 142 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "willow",
"version": "14.0.0",
"version": "14.3.0",
"author": "Buenos Aires Smalltalk contributors",
"license": "MIT",
"dependencies": {
"jquery": "3.5.0"
"jquery": "3.6.0"
}
,
"description": "Willow is a Web Interaction Library that eases the burden of creating AJAX-based web applications.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ JQuery3DeploymentMetadataLibraryTest >> testDeployFiles [

self
assertFileDeploymentOf: JQuery3DeploymentMetadataLibrary default
createsAsFolders: #('jQuery-3.5.1')
createsAsFolders: #('jQuery-3.6.0')
andFileContentsMatching:
{( 'jQuery-3.5.1/jquery-3.5.1.min.js' -> '60f5b391b8376ed2f8b0159939e66ba5997066e1' ).
( 'jQuery-3.5.1/jquery-3.5.1.min.map' -> '6207ad2639a863210f202384044a575c69a678ac' )}
{( 'jQuery-3.6.0/jquery-3.6.0.min.js' -> '6e36f06a81369c34c9c97a3b1bf6802811ec7561' ).
( 'jQuery-3.6.0/jquery-3.6.0.min.map' -> '9ac9b4c063db17cc5a888429b86a17dc23c89994' )}
]

{ #category : #tests }
Expand Down Expand Up @@ -44,5 +44,5 @@ JQuery3DeploymentMetadataLibraryTest >> testUpdateRoot [
self
assert: html
equals:
'<html><head><title></title><script type="text/javascript" src="/files/jQuery-3.5.1/jquery-3.5.1.min.js"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
'<html><head><title></title><script type="text/javascript" src="/files/jQuery-3.6.0/jquery-3.6.0.min.js"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
]
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ JQuery3DevelopmentMetadataLibraryTest >> testDeployFiles [

self
assertFileDeploymentOf: JQuery3DevelopmentMetadataLibrary default
createsAsFolders: #('jQuery-3.5.1')
andFileContentsMatching: {( 'jQuery-3.5.1/jquery-3.5.1.js' -> 'f1636e31dd837c932edd5105262a797870e3fba0' )}
createsAsFolders: #('jQuery-3.6.0')
andFileContentsMatching: {( 'jQuery-3.6.0/jquery-3.6.0.js' -> '6376ef01b5ecb3fa8ca48f342778a551056a7216' )}
]

{ #category : #tests }
Expand Down Expand Up @@ -42,5 +42,5 @@ JQuery3DevelopmentMetadataLibraryTest >> testUpdateRoot [
self
assert: html
equals:
'<html><head><title></title><script type="text/javascript" src="/files/jQuery-3.5.1/jquery-3.5.1.js"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
'<html><head><title></title><script type="text/javascript" src="/files/jQuery-3.6.0/jquery-3.6.0.js"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
]
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ JQuery3FileMetadataLibraryTest >> testLibraryName [
{ #category : #tests }
JQuery3FileMetadataLibraryTest >> testVersion [

self assert: JQuery3MetadataLibrary version equals: '3.5.1'
self assert: JQuery3MetadataLibrary version equals: '3.6.0'
]

{ #category : #tests }
Expand Down
2 changes: 1 addition & 1 deletion source/Willow-Core-Tests/JQuery3OnlineLibraryTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ JQuery3OnlineLibraryTest >> testUpdateRoot [
self
assert: html
equals:
'<html><head><title></title><script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha384-ZvpUoO/+PpLXR1lu4jmpXWu80pZlYUAfxl5NsBMWOEPSjUn/6Z/hRTt8+pR6L4N2" crossorigin="anonymous"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
'<html><head><title></title><script type="text/javascript" src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha384-vtXRMe3mGCbOeY7l30aIg8H9p3GdeSe4IFlP6G8JMa7o7lXvnz3GFKzPxzJdPfGK" crossorigin="anonymous"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
]
2 changes: 1 addition & 1 deletion source/Willow-Core-Tests/WillowApplicationTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,5 @@ WillowApplicationTest >> testRenderContentOn [
self
assert: html
equals:
'<!DOCTYPE html><html lang="en"><head><title>The official testing app</title><script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha384-ZvpUoO/+PpLXR1lu4jmpXWu80pZlYUAfxl5NsBMWOEPSjUn/6Z/hRTt8+pR6L4N2" crossorigin="anonymous"></script><script type="text/javascript" src="/files/willow-8.0.1/js/willow.js"></script></head><body onload="onLoad()"><span><select name="1"></select></span><div id="willow-dialog-section" class="willow-dialog-container"></div><div id="willow-notification-section"></div><script type="text/javascript">function onLoad(){};</script></body></html>'
'<!DOCTYPE html><html lang="en"><head><title>The official testing app</title><script type="text/javascript" src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha384-vtXRMe3mGCbOeY7l30aIg8H9p3GdeSe4IFlP6G8JMa7o7lXvnz3GFKzPxzJdPfGK" crossorigin="anonymous"></script><script type="text/javascript" src="/files/willow-8.0.1/js/willow.js"></script></head><body onload="onLoad()"><span><select name="1"></select></span><div id="willow-dialog-section" class="willow-dialog-container"></div><div id="willow-notification-section"></div><script type="text/javascript">function onLoad(){};</script></body></html>'
]
24 changes: 12 additions & 12 deletions source/Willow-Core/JQuery3DeploymentMetadataLibrary.class.st

Large diffs are not rendered by default.

Loading

0 comments on commit b3865e6

Please sign in to comment.