ember-cli-assets 0.0.3 → 0.0.4
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/resolver.rb +1 -1
- data/vendor/assets/ember/resolver.js +13 -7
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b814645f87e5d051b1077d7f0b875c5d94488be1
|
4
|
+
data.tar.gz: 2557db0ff7804180ec61066a11f7caed060b33fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa50e1e526d3e3e391505e07c0c4d0001af97bb0d0e1c804f5bf62b167966439300971039667c6ef72a9faeec72fa65b807af333d19435578a13d336fce9ac19
|
7
|
+
data.tar.gz: 0f1f2a11cd67713e6bbe0bea245b544f52a5893bd4b2b3858766972e6e52e774ddcc0283c0cdcef728d57870aaa4fe822f4b3d7a569999471fcee632a8d73221
|
data/lib/ember/cli/resolver.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
// ==========================================================================
|
7
7
|
|
8
8
|
|
9
|
-
// Version: 0.1.
|
9
|
+
// Version: 0.1.14
|
10
10
|
|
11
11
|
(function() {
|
12
12
|
/*globals define registry requirejs */
|
@@ -97,6 +97,17 @@ define("ember/resolver",
|
|
97
97
|
function resolveOther(parsedName) {
|
98
98
|
/*jshint validthis:true */
|
99
99
|
|
100
|
+
if (!this._deprecatedPodModulePrefix) {
|
101
|
+
var podModulePrefix = this.namespace.podModulePrefix || '';
|
102
|
+
var podPath = podModulePrefix.substr(podModulePrefix.lastIndexOf('/') + 1);
|
103
|
+
|
104
|
+
Ember.deprecate('`podModulePrefix` is deprecated and will be removed '+
|
105
|
+
'from future versions of ember-cli. Please move existing pods from '+
|
106
|
+
'\'app/' + podPath + '/\' to \'app/\'.', !this.namespace.podModulePrefix);
|
107
|
+
|
108
|
+
this._deprecatedPodModulePrefix = true;
|
109
|
+
}
|
110
|
+
|
100
111
|
Ember.assert('`modulePrefix` must be defined', this.namespace.modulePrefix);
|
101
112
|
|
102
113
|
var normalizedModuleName = this.findModuleName(parsedName);
|
@@ -143,13 +154,8 @@ define("ember/resolver",
|
|
143
154
|
if (!this.pluralizedTypes.config) {
|
144
155
|
this.pluralizedTypes.config = 'config';
|
145
156
|
}
|
146
|
-
|
147
|
-
var podModulePrefix = this.namespace.podModulePrefix || '';
|
148
|
-
var podPath = podModulePrefix.substr(podModulePrefix.lastIndexOf('/') + 1);
|
149
|
-
Ember.deprecate('`podModulePrefix` is deprecated and will be removed '+
|
150
|
-
'from future versions of ember-cli. Please move existing pods from '+
|
151
|
-
'\'app/' + podPath + '/\' to \'app/\'.', !this.namespace.podModulePrefix);
|
152
157
|
|
158
|
+
this._deprecatedPodModulePrefix = false;
|
153
159
|
},
|
154
160
|
normalize: function(fullName) {
|
155
161
|
return this._normalizeCache[fullName] || (this._normalizeCache[fullName] = this._normalize(fullName));
|