buildSDK/cssmini.js
authorAlan Knowles <alan@roojs.com>
Thu, 4 Mar 2021 08:49:29 +0000 (16:49 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 4 Mar 2021 08:49:29 +0000 (16:49 +0800)
buildSDK/cssmini.js

index e8aa4fe..9cafe90 100644 (file)
@@ -34,7 +34,7 @@ lines.forEach(function(l) {
     l = l.replace(/^[^"]+"([^"]+)".*/, '$1');
     print("pack " + l);
     //out += pack(File.read(pa+'/css/' + l)).replace(/\}/g, "}\n")+"\n";
-    out += pack(GLib.file_get_contents(pa+'/css/' + l)['contents'])) + "\n";
+    out += pack(GLib.file_get_contents(pa+'/css/' + l)['contents']) + "\n";
 });
 var f = Gio.file_new_for_path(String(pa+'/css/roojs.css'));
 var data_out = new Gio.DataOutputStream({base_stream:f.replace(null, false, Gio.FileCreateFlags.NONE, null)});