Merge pull request #1318 from ajaxorg/hotfix/ie8

Hotfix/ie8
This commit is contained in:
Ruben Daniels 2013-03-24 09:35:44 -07:00
commit 0d303296fe
18 changed files with 112 additions and 40 deletions

View file

@ -3,7 +3,7 @@
*
* Copyright (c) 2010, Ajax.org B.V.
* All rights reserved.
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright

View file

@ -203,8 +203,8 @@ function quoteString(str) {
return '"' + str.replace(/\\/, "\\\\").replace(/"/g, '\\"').replace(/\n/g, "\\\n") + '"';
}
var cssTemplate = fs.readFileSync(__dirname + "/Theme.tmpl.css", "utf8");
var jsTemplate = fs.readFileSync(__dirname + "/Theme.tmpl.js", "utf8");
var cssTemplate = fs.readFileSync(__dirname + "/theme.tmpl.css", "utf8");
var jsTemplate = fs.readFileSync(__dirname + "/theme.tmpl.js", "utf8");
function normalizeStylesheet(rules) {
for (var i = rules.length; i--; ) {