Permalink
Browse files

updated buildr to attempt to fix incorrect serverCompliation value pr…

…eventing load on github pages
  • Loading branch information...
1 parent 900b9a4 commit 81a8936fdb04c76bc202952cd4e773b0158f2fd1 @balupton committed Jul 18, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/html5edit.loader.js
  2. +1 −1 package.json
View
4 lib/html5edit.loader.js
@@ -49,7 +49,7 @@
var me, scriptEl, scriptLoaded, scriptSrc;
me = this;
scriptSrc = this.baseUrl + this.scripts[this.loadScriptIndex];
- if (this.serverCompilation != null) {
+ if (this.serverCompilation) {
scriptSrc += '?js';
}
scriptLoaded = function() {
@@ -87,7 +87,7 @@
var me, styleEl, styleHref, styleLoaded;
me = this;
styleHref = this.baseUrl + this.styles[this.loadStyleIndex];
- if (this.serverCompilation != null) {
+ if (this.serverCompilation) {
styleHref += '?css';
}
styleLoaded = function() {
View
2 package.json
@@ -43,7 +43,7 @@
},
"dependencies": {
"coffee-script": "=1.1",
- "buildr": "=0.5.4",
+ "buildr": "=0.5.5",
"simple-server": "=0.4.0"
},
"engines" : {

0 comments on commit 81a8936

Please sign in to comment.