Skip to content

Commit

Permalink
Merge branch 'release/4.1.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirk Lüth authored and Dirk Lüth committed Feb 2, 2017
2 parents 9be45fc + d0888e4 commit 8f39ca2
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 15 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qoopido.demand",
"version": "4.1.7",
"version": "4.1.8",
"homepage": "https://github.com/dlueth/qoopido.demand",
"authors": [
"Dirk Lueth <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

target.parentNode.insertBefore(script, target);
}(window, document, 'script'))
}('../dist/demand.js', 'app/js/main', { base: './', version: '4.1.7', cache: false }));
}('../dist/demand.js', 'app/js/main', { base: './', version: '4.1.8', cache: false }));
</script>
</body>
</html>
2 changes: 1 addition & 1 deletion dist/cache/dispose.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/demand.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/demand.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/handler/css.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/handler/html.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/handler/json.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/handler/legacy.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/handler/text.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugin/cookie.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugin/lzstring.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugin/sri.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "qoopido.demand",
"title": "Qoopido.demand",
"description": "Promise like module loader using XHR requests and localStorage caching to dynamically load JavaScript and CSS + dynamic dependency resolution + support for custom handlers",
"version": "4.1.7",
"version": "4.1.8",
"homepage": "https://github.com/dlueth/qoopido.demand",
"author": {
"name": "Dirk Lueth",
Expand Down
5 changes: 5 additions & 0 deletions src/handler/component.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
/* global
global, document, demand, provide, queue, processor, settings, setTimeout, clearTimeout, storage,
FALSE, EVENT_POST_REQUEST, ERROR_RESOLVE,
functionResolveSourcemaps,
abstractHandler,
ClassDependency, ClassPledge, ClassFailure
*/

//=require constants.js
//=require function/resolveSourcemaps.js
//=require abstract/handler.js
//=require class/dependency.js
//=require class/pledge.js
Expand All @@ -26,6 +28,9 @@ var handlerComponent = (function() {

dependency.url.pathname = pathname.slice(-suffix.length) !== suffix ? pathname + suffix : pathname;
},
onPostRequest: function(dependency) {
dependency.source = functionResolveSourcemaps(dependency.url, dependency.source);
},
onPreProcess: function(dependency) {
var context = dependency.path,
dfd = dependency.dfd,
Expand Down

0 comments on commit 8f39ca2

Please sign in to comment.