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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3fb07b09e09be32174f6b0ba073b7f4613875cd1
4
- data.tar.gz: d412fa9db11d04c78047e925b70b8d737de5bc86
3
+ metadata.gz: e8a198b91fac7f1e5ff821d9368172835da89b58
4
+ data.tar.gz: 3f33116c234ea2eb8e12db95e213e82efdbc3e8d
5
5
  SHA512:
6
- metadata.gz: 0eb4b64771cf94abca7d85e71b03bf0f83bbab4e2cc22808b33025185aa4891c14bb9f67111fe2df9f07bd97ac66006c98869680265f11b95235187e0ae28a31
7
- data.tar.gz: d0232895c139bd9a1397e16970895c76bb87c22c7109e8f9539e3ed8b8e71b94846e59c9c9248ffc1654b9859dcb0d3850c92d0f7aba2af1cf0a8d81b21b7d8b
6
+ metadata.gz: d75c390633e479a1d30c3a78418ffaec1be4bf73418d817201a5ebf3c2bc14df68f2786cbc3e27fa56bc42f24f6959ba40d11840bc00b222b290f3a0b3668616
7
+ data.tar.gz: bcafb3591176fb79fdcc00acd678c9460db40697efa8df7b796c19b3e488696c67aab27db414ac2592b9cce5c03182d2bc7432a031d92fb30b954cadfdcabb12
@@ -1,7 +1,7 @@
1
1
  module Ember
2
2
  module CLI
3
3
  module Assets
4
- VERSION = '0.0.12'
4
+ VERSION = '0.0.13'
5
5
  end
6
6
  end
7
7
  end
@@ -1,7 +1,7 @@
1
1
  module Ember
2
2
  module CLI
3
3
  module Loader
4
- VERSION = '3.2.1'
4
+ VERSION = '3.3.0'
5
5
  end
6
6
  end
7
7
  end
@@ -11,7 +11,8 @@ var define, requireModule, require, requirejs;
11
11
  _isArray = Array.isArray;
12
12
  }
13
13
 
14
- var registry = {}, seen = {};
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 === '.') { continue; }
181
- else { parentBase.push(part); }
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.clear = function(){
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.12
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-07-23 00:00:00.000000000 Z
11
+ date: 2015-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler