Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
remove cruft from recursive patch
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Feb 14, 2014
1 parent 427c8cb commit 7d0501e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/styleloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ var loader = {
for (var i=0, s; (i<l) && (s=styles[i]); i++) {
styleResolver.resolveNode(s, loadedStyle);
}
},
}
};

// use the platform to preload styles
Expand All @@ -95,12 +95,6 @@ function createStyleElement(cssText, scope) {
return style;
}

function xhrLoadStyle(style, callback) {
styleResolver.resolveNode(style, function(){
callback(style);
});
}

// exports
scope.loader = loader;
scope.styleResolver = styleResolver;
Expand Down

0 comments on commit 7d0501e

Please sign in to comment.