Skip to content

Commit

Permalink
Swap the format of the jquery UI files.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtabacman committed Jul 6, 2023
1 parent a6eba73 commit c9a374c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Expand Up @@ -187,14 +187,14 @@ JQueryUIComponentSupplierTest >> testUpdateRoot [
| html |

html := WAHtmlCanvas builder
fullDocument: true;
rootBlock: [ :root | JQueryUIComponentSupplier online updateRoot: root ];
render: [ :canvas | ].
fullDocument: true;
rootBlock: [ :root | JQueryUIComponentSupplier online updateRoot: root ];
render: [ :canvas | ].

self
assert: html
equals:
'<!DOCTYPE html><html><head><title></title><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="stylesheet" type="text/css" href="https://code.jquery.com/ui/1.13.2/jquery-ui.min.js"/><script type="text/javascript" src="https://code.jquery.com/ui/1.13.2/themes/pepper-grinder/jquery-ui.css"></script></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
'<!DOCTYPE html><html><head><title></title><meta name="viewport" content="width=device-width, initial-scale=1.0"/><script type="text/javascript" src="https://code.jquery.com/ui/1.13.2/jquery-ui.min.js"></script><link rel="stylesheet" type="text/css" href="https://code.jquery.com/ui/1.13.2/themes/pepper-grinder/jquery-ui.css"/></head><body onload="onLoad()"><script type="text/javascript">function onLoad(){};</script></body></html>'
]

{ #category : #'tests-Processing' }
Expand Down
4 changes: 2 additions & 2 deletions source/Willow-JQueryUI/JQueryUIOnlineLibrary.class.st
Expand Up @@ -10,9 +10,9 @@ Class {
{ #category : #Updating }
JQueryUIOnlineLibrary >> updateRoot: aRoot [

aRoot stylesheet url:
( 'https://code.jquery.com/ui/<1s>/jquery-ui.min.js' expandMacrosWith: self version ).
aRoot javascript url:
( 'https://code.jquery.com/ui/<1s>/jquery-ui.min.js' expandMacrosWith: self version ).
aRoot stylesheet url:
( 'https://code.jquery.com/ui/<1s>/themes/pepper-grinder/jquery-ui.css' expandMacrosWith:
self version )
]
Expand Down

0 comments on commit c9a374c

Please sign in to comment.