ember-auth-response-json-source 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/dist/ember-auth-response-json.js +10 -2
- 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: 86dde4e3acda03fbbe3fae425ab89994d06c78db
|
4
|
+
data.tar.gz: 67e90ddd6226cd5b3f39c16104058a1287a38e63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbe6dea78a47d8c76feee2e6558f0873f2b6aa4a878be8591c69b4e4defa23ef12d14f4e19239abd78c12b8c61da7396a6d70d238fbe727d1c2db3acb40092e0
|
7
|
+
data.tar.gz: 97a4495645abc2342a4c6e4ccaf2f3ea68b4898d0619881caeea03b8f57c82d7f844fa72818dd2ade0ec5e220618b1cb0e46083aa89706278419d041f68ccf59
|
@@ -1,11 +1,19 @@
|
|
1
1
|
// Generated by EmberScript 0.0.7
|
2
2
|
var get$ = Ember.get;
|
3
3
|
Em.onLoad('Ember.Application', function (application) {
|
4
|
-
|
4
|
+
application.initializer({
|
5
5
|
name: 'ember-auth.response.json',
|
6
6
|
before: 'ember-auth-load',
|
7
7
|
initialize: function (container, app) {
|
8
|
-
|
8
|
+
app.register('authResponse:json', get$(get$(Em, 'Auth'), 'JsonAuthResponse'), { singleton: true });
|
9
|
+
return app.inject('authResponse:json', 'auth', 'auth:main');
|
10
|
+
}
|
11
|
+
});
|
12
|
+
return application.initializer({
|
13
|
+
name: 'ember-auth.response.json-load',
|
14
|
+
after: 'ember-auth-load',
|
15
|
+
initialize: function (container, app) {
|
16
|
+
return container.lookup('authResponse:json');
|
9
17
|
}
|
10
18
|
});
|
11
19
|
});// Generated by EmberScript 0.0.7
|