ember-auth-request-jquery-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-request-jquery.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: a347f3ceb4d356ffd66aee2b2a526fd33d5923ab
|
4
|
+
data.tar.gz: 97bda49441aee104ffc61f199e19b9320ac13d7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c647d28386314de39a58ebba0de712208b20c429d9f89631be6dd2e0b3d66fcc03249ff0b0a70f1aa0d84f20feaeac8b8aa495d47ddc7cbfedc7f9b82818f343
|
7
|
+
data.tar.gz: bdd441f51ef82dc561e449e72860f1ea4a421befbc3be9dff9479c67badf51b798dd315230ce97dc28b3ca6252478fedd42d7a8e1d883a58d5bdb7945f470493
|
@@ -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.request.jquery',
|
6
6
|
before: 'ember-auth-load',
|
7
7
|
initialize: function (container, app) {
|
8
|
-
|
8
|
+
app.register('authRequest:jquery', get$(get$(Em, 'Auth'), 'JqueryAuthRequest'), { singleton: true });
|
9
|
+
return app.inject('authRequest:jquery', 'auth', 'auth:main');
|
10
|
+
}
|
11
|
+
});
|
12
|
+
return application.initializer({
|
13
|
+
name: 'ember-auth.request.jquery-load',
|
14
|
+
after: 'ember-auth-load',
|
15
|
+
initialize: function (container, app) {
|
16
|
+
return container.lookup('authRequest:jquery');
|
9
17
|
}
|
10
18
|
});
|
11
19
|
});// Generated by EmberScript 0.0.7
|