ember-cli-assets 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ember/cli/assets/version.rb +1 -1
- data/lib/ember/cli/loader.rb +1 -1
- data/vendor/assets/ember/loader.js +10 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8a198b91fac7f1e5ff821d9368172835da89b58
|
4
|
+
data.tar.gz: 3f33116c234ea2eb8e12db95e213e82efdbc3e8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d75c390633e479a1d30c3a78418ffaec1be4bf73418d817201a5ebf3c2bc14df68f2786cbc3e27fa56bc42f24f6959ba40d11840bc00b222b290f3a0b3668616
|
7
|
+
data.tar.gz: bcafb3591176fb79fdcc00acd678c9460db40697efa8df7b796c19b3e488696c67aab27db414ac2592b9cce5c03182d2bc7432a031d92fb30b954cadfdcabb12
|
data/lib/ember/cli/loader.rb
CHANGED
@@ -11,7 +11,8 @@ var define, requireModule, require, requirejs;
|
|
11
11
|
_isArray = Array.isArray;
|
12
12
|
}
|
13
13
|
|
14
|
-
var registry = {}
|
14
|
+
var registry = {};
|
15
|
+
var seen = {};
|
15
16
|
var FAILED = false;
|
16
17
|
|
17
18
|
var uuid = 0;
|
@@ -118,7 +119,6 @@ var define, requireModule, require, requirejs;
|
|
118
119
|
requirejs = require = requireModule = function(name) {
|
119
120
|
var mod = registry[name];
|
120
121
|
|
121
|
-
|
122
122
|
if (mod && mod.callback instanceof Alias) {
|
123
123
|
mod = registry[mod.callback.name];
|
124
124
|
}
|
@@ -177,15 +177,20 @@ var define, requireModule, require, requirejs;
|
|
177
177
|
throw new Error('Cannot access parent module of root');
|
178
178
|
}
|
179
179
|
parentBase.pop();
|
180
|
-
} else if (part === '.') {
|
181
|
-
|
180
|
+
} else if (part === '.') {
|
181
|
+
continue;
|
182
|
+
} else { parentBase.push(part); }
|
182
183
|
}
|
183
184
|
|
184
185
|
return parentBase.join('/');
|
185
186
|
}
|
186
187
|
|
187
188
|
requirejs.entries = requirejs._eak_seen = registry;
|
188
|
-
requirejs.
|
189
|
+
requirejs.unsee = function(moduleName) {
|
190
|
+
delete seen[moduleName];
|
191
|
+
};
|
192
|
+
|
193
|
+
requirejs.clear = function() {
|
189
194
|
requirejs.entries = requirejs._eak_seen = registry = {};
|
190
195
|
seen = state = {};
|
191
196
|
};
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ember-cli-assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryunosuke SATO
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|