diff --git a/source/RenoirSt-Seaside-Tests.package/CssHSLColorTest.extension/instance/testJavascriptOn.st b/source/RenoirSt-Seaside-Tests.package/CssHSLColorTest.extension/instance/testJavascriptOn.st new file mode 100644 index 0000000..367b20e --- /dev/null +++ b/source/RenoirSt-Seaside-Tests.package/CssHSLColorTest.extension/instance/testJavascriptOn.st @@ -0,0 +1,8 @@ +*RenoirSt-Seaside-Tests +testJavascriptOn + + | color | + + color := CssHSLColor hue: 120 saturation: 100 percent lightness: 50 percent. + + self assert: color asJavascript equals: '"hsl(120,100%,50%)"' \ No newline at end of file diff --git a/source/RenoirSt-Seaside-Tests.package/CssHSLColorTest.extension/methodProperties.json b/source/RenoirSt-Seaside-Tests.package/CssHSLColorTest.extension/methodProperties.json new file mode 100644 index 0000000..d0c9ab3 --- /dev/null +++ b/source/RenoirSt-Seaside-Tests.package/CssHSLColorTest.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "testJavascriptOn" : "JulianMaestri 4/1/2017 12:05" } } diff --git a/source/RenoirSt-Seaside-Tests.package/CssHSLColorTest.extension/properties.json b/source/RenoirSt-Seaside-Tests.package/CssHSLColorTest.extension/properties.json new file mode 100644 index 0000000..7679fe7 --- /dev/null +++ b/source/RenoirSt-Seaside-Tests.package/CssHSLColorTest.extension/properties.json @@ -0,0 +1,2 @@ +{ + "name" : "CssHSLColorTest" } diff --git a/source/RenoirSt-Seaside-Tests.package/CssRGBColorTest.extension/instance/testJavascriptOn.st b/source/RenoirSt-Seaside-Tests.package/CssRGBColorTest.extension/instance/testJavascriptOn.st new file mode 100644 index 0000000..54215f9 --- /dev/null +++ b/source/RenoirSt-Seaside-Tests.package/CssRGBColorTest.extension/instance/testJavascriptOn.st @@ -0,0 +1,8 @@ +*RenoirSt-Seaside-Tests +testJavascriptOn + + | color | + + color := (CssRGBColor red: 255 green: 0 blue: 0 alpha: 0.5). + + self assert: color asJavascript equals: '"rgba(255,0,0,0.5)"' \ No newline at end of file diff --git a/source/RenoirSt-Seaside-Tests.package/CssRGBColorTest.extension/methodProperties.json b/source/RenoirSt-Seaside-Tests.package/CssRGBColorTest.extension/methodProperties.json new file mode 100644 index 0000000..d0c9ab3 --- /dev/null +++ b/source/RenoirSt-Seaside-Tests.package/CssRGBColorTest.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "testJavascriptOn" : "JulianMaestri 4/1/2017 12:05" } } diff --git a/source/RenoirSt-Seaside-Tests.package/CssRGBColorTest.extension/properties.json b/source/RenoirSt-Seaside-Tests.package/CssRGBColorTest.extension/properties.json new file mode 100644 index 0000000..597f86f --- /dev/null +++ b/source/RenoirSt-Seaside-Tests.package/CssRGBColorTest.extension/properties.json @@ -0,0 +1,2 @@ +{ + "name" : "CssRGBColorTest" } diff --git a/source/RenoirSt-Seaside.package/CssColorUnit.extension/instance/javascriptOn..st b/source/RenoirSt-Seaside.package/CssColorUnit.extension/instance/javascriptOn..st new file mode 100644 index 0000000..d710f4a --- /dev/null +++ b/source/RenoirSt-Seaside.package/CssColorUnit.extension/instance/javascriptOn..st @@ -0,0 +1,6 @@ +*RenoirSt-Seaside +javascriptOn: aStream + + aStream nextPut: $". + self cssContentOn: aStream. + aStream nextPut: $" \ No newline at end of file diff --git a/source/RenoirSt-Seaside.package/CssColorUnit.extension/methodProperties.json b/source/RenoirSt-Seaside.package/CssColorUnit.extension/methodProperties.json new file mode 100644 index 0000000..22bac1f --- /dev/null +++ b/source/RenoirSt-Seaside.package/CssColorUnit.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "javascriptOn:" : "JulianMaestri 4/1/2017 12:01" } } diff --git a/source/RenoirSt-Seaside.package/CssColorUnit.extension/properties.json b/source/RenoirSt-Seaside.package/CssColorUnit.extension/properties.json new file mode 100644 index 0000000..3854dc3 --- /dev/null +++ b/source/RenoirSt-Seaside.package/CssColorUnit.extension/properties.json @@ -0,0 +1,2 @@ +{ + "name" : "CssColorUnit" } diff --git a/source/RenoirSt-Tests.package/CssConstantsTest.class/instance/testBasicConstantws.st b/source/RenoirSt-Tests.package/CssConstantsTest.class/instance/testBasicConstants.st similarity index 73% rename from source/RenoirSt-Tests.package/CssConstantsTest.class/instance/testBasicConstantws.st rename to source/RenoirSt-Tests.package/CssConstantsTest.class/instance/testBasicConstants.st index 44d3812..81d8e1e 100644 --- a/source/RenoirSt-Tests.package/CssConstantsTest.class/instance/testBasicConstantws.st +++ b/source/RenoirSt-Tests.package/CssConstantsTest.class/instance/testBasicConstants.st @@ -1,5 +1,5 @@ Tests -testBasicConstantws +testBasicConstants self assert: CssConstants auto equals: 'auto'; @@ -9,4 +9,5 @@ testBasicConstantws assert: CssConstants none equals: 'none'; assert: CssConstants odd equals: 'odd'; assert: CssConstants show equals: 'show'; - assert: CssConstants vertical equals: 'vertical' \ No newline at end of file + assert: CssConstants vertical equals: 'vertical'; + assert: CssConstants initial equals: 'initial' \ No newline at end of file diff --git a/source/RenoirSt.package/CssConstants.class/class/initial.st b/source/RenoirSt.package/CssConstants.class/class/initial.st new file mode 100644 index 0000000..806dff3 --- /dev/null +++ b/source/RenoirSt.package/CssConstants.class/class/initial.st @@ -0,0 +1,4 @@ +Accessing +initial + + ^'initial' \ No newline at end of file