ember-auth-strategy-dummy-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-strategy-dummy.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: db565c763716c3bd7911ae98702844e9e45d8209
|
4
|
+
data.tar.gz: bd82943bee1886a5ec6aab7f2d10414c919919f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aaaa7c035b7659528aee3c52fc7c9e9a9416a4dddd854661e1312d2d6fbc01031f211305de2b71c8def54c7337ab078ead51090d9087b22fa02f34ba3ef5f982
|
7
|
+
data.tar.gz: 2adb039bfb0f76c65b4dd7dac56688dc9cfdd5196686b01466c4bf43d3761c6f77b04133233de592261c55abd38dfce272720159ab23a652bfa19950a31c4110
|
@@ -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.strategy.dummy',
|
6
6
|
before: 'ember-auth-load',
|
7
7
|
initialize: function (container, app) {
|
8
|
-
|
8
|
+
app.register('authStrategy:dummy', get$(get$(Em, 'Auth'), 'DummyAuthStrategy'), { singleton: true });
|
9
|
+
return app.inject('authStrategy:dummy', 'auth', 'auth:main');
|
10
|
+
}
|
11
|
+
});
|
12
|
+
return application.initializer({
|
13
|
+
name: 'ember-auth.strategy.dummy-load',
|
14
|
+
after: 'ember-auth-load',
|
15
|
+
initialize: function (container, app) {
|
16
|
+
return container.lookup('authStrategy:dummy');
|
9
17
|
}
|
10
18
|
});
|
11
19
|
});// Generated by EmberScript 0.0.7
|