|
@@ -24,6 +24,9 @@ require = function (require) {
|
|
// e.g. http://app.com/index.html -> http://app.com/
|
|
// e.g. http://app.com/index.html -> http://app.com/
|
|
var document_home = window.location.href.replace(/\/[^\/]+$/, "");
|
|
var document_home = window.location.href.replace(/\/[^\/]+$/, "");
|
|
|
|
|
|
|
|
+ if (!amber_home.match(/\/bower_components\//)) {
|
|
|
|
+ document_home = amber_home;
|
|
|
|
+ }
|
|
|
|
|
|
function resolveViaDOM(url) {
|
|
function resolveViaDOM(url) {
|
|
var a = document.createElement("a");
|
|
var a = document.createElement("a");
|