From c9a374cddcf3a80337fb1a4d7c35e5a4952f0980 Mon Sep 17 00:00:00 2001 From: Maximiliano Tabacman Date: Wed, 5 Jul 2023 23:52:38 -0300 Subject: [PATCH] Swap the format of the jquery UI files. --- .../JQueryUIComponentSupplierTest.class.st | 8 ++++---- source/Willow-JQueryUI/JQueryUIOnlineLibrary.class.st | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/Willow-JQueryUI-Tests/JQueryUIComponentSupplierTest.class.st b/source/Willow-JQueryUI-Tests/JQueryUIComponentSupplierTest.class.st index 14620ae..14a338e 100644 --- a/source/Willow-JQueryUI-Tests/JQueryUIComponentSupplierTest.class.st +++ b/source/Willow-JQueryUI-Tests/JQueryUIComponentSupplierTest.class.st @@ -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: - '' + '' ] { #category : #'tests-Processing' } diff --git a/source/Willow-JQueryUI/JQueryUIOnlineLibrary.class.st b/source/Willow-JQueryUI/JQueryUIOnlineLibrary.class.st index 3ab1246..48b3a8f 100644 --- a/source/Willow-JQueryUI/JQueryUIOnlineLibrary.class.st +++ b/source/Willow-JQueryUI/JQueryUIOnlineLibrary.class.st @@ -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 ) ]