ember-auth-session-cookie-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-session-cookie.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: 74315edb14665dd5ca74c772c02a2654eded84bd
|
4
|
+
data.tar.gz: 50d14cb0a380787574b6cd188d4cbcb6b439d8c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13d5f19b368aed4fca8763380cd20eb31d4c7b5a4dcefbaaa65eb60475a02c9242d1baccb98844aa6d5ddb81238f97141e11e5f5131dcbbe98f71d4c3f4186c3
|
7
|
+
data.tar.gz: c9040f31288d2f5d2bc6143339fe018ad04eaee3de27d3222116bfc224a2062436ce1d72826d544c6ba0acf8070605b3a66f40f117fb5636c21448c7b428acd1
|
@@ -94,11 +94,19 @@
|
|
94
94
|
// Generated by EmberScript 0.0.7
|
95
95
|
var get$ = Ember.get;
|
96
96
|
Em.onLoad('Ember.Application', function (application) {
|
97
|
-
|
97
|
+
application.initializer({
|
98
98
|
name: 'ember-auth.session.cookie',
|
99
99
|
before: 'ember-auth-load',
|
100
100
|
initialize: function (container, app) {
|
101
|
-
|
101
|
+
app.register('authSession:cookie', get$(get$(Em, 'Auth'), 'CookieAuthSession'), { singleton: true });
|
102
|
+
return app.inject('authSession:cookie', 'auth', 'auth:main');
|
103
|
+
}
|
104
|
+
});
|
105
|
+
return application.initializer({
|
106
|
+
name: 'ember-auth.session.cookie-load',
|
107
|
+
after: 'ember-auth-load',
|
108
|
+
initialize: function (container, app) {
|
109
|
+
return container.lookup('authSession:cookie');
|
102
110
|
}
|
103
111
|
});
|
104
112
|
});// Generated by EmberScript 0.0.7
|