ember-auth-session-local_storage-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-local-storage.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: 42bdf211b10d294a8f333964f72c2feced8566ce
|
4
|
+
data.tar.gz: 31ea4424f63438a919b42e262c655100667ec121
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce37e26b3c1b8a9dea0612eebefa4715b32d2b74b0ce903ebb9026acb985f7cd31d1ca04775710605ff5009fe3b04b30e9646a3b106124dcad6af665f8a2aa2e
|
7
|
+
data.tar.gz: c7db56702a1656c4b9dcd0c34aef9f15e8acf2f34282faf8d0d68081945270ad142fb4e684581648f4c201ff0964e28aca789dcdb897255f34b9311e55805618
|
@@ -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.session.local-storage',
|
6
6
|
before: 'ember-auth-load',
|
7
7
|
initialize: function (container, app) {
|
8
|
-
|
8
|
+
app.register('authSession:localStorage', get$(get$(Em, 'Auth'), 'LocalStorageAuthSession'), { singleton: true });
|
9
|
+
return app.inject('authSession:localStorage', 'auth', 'auth:main');
|
10
|
+
}
|
11
|
+
});
|
12
|
+
return application.initializer({
|
13
|
+
name: 'ember-auth.session.local-storage-load',
|
14
|
+
after: 'ember-auth-load',
|
15
|
+
initialize: function (container, app) {
|
16
|
+
return container.lookup('authSession:localStorage');
|
9
17
|
}
|
10
18
|
});
|
11
19
|
});// Generated by EmberScript 0.0.7
|