Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated buildr to attempt to fix incorrect serverCompliation value pr…

…eventing load on github pages
  • Loading branch information...
commit 81a8936fdb04c76bc202952cd4e773b0158f2fd1 1 parent 900b9a4
@balupton authored
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" : {
Please sign in to comment.
Something went wrong with that request. Please try again.