Skip to content

Commit

Permalink
Merge pull request #109 from mike-north/new-initializer
Browse files Browse the repository at this point in the history
Align with container cleanup
  • Loading branch information
rwjblue committed Aug 24, 2015
2 parents 3d70001 + a3975c6 commit 85368b0
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.17
0.1.20
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-resolver",
"version": "0.1.19",
"version": "0.1.20",
"license": "MIT",
"main": ["dist/ember-resolver.js", "dist/ember-resolver.prod.js", "dist/ember-resolver.min.js"],
"ignore": [
Expand Down
2 changes: 1 addition & 1 deletion dist/ember-resolver-spade.js

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions dist/ember-resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// ==========================================================================


// Version: 0.1.17
// Version: 0.1.20

(function() {
/*globals define registry requirejs */
Expand Down Expand Up @@ -542,11 +542,12 @@ define("ember/container-debug-adapter",
Ember.Application.initializer({
name: 'container-debug-adapter',

initialize: function(container, app) {
initialize: function() {
var app = arguments[1] || arguments[0];
var ContainerDebugAdapter = require('ember/container-debug-adapter');
var Resolver = require('ember/resolver');

container.register('container-debug-adapter:main', ContainerDebugAdapter);
app.register('container-debug-adapter:main', ContainerDebugAdapter);
app.inject('container-debug-adapter:main', 'namespace', 'application:main');
}
});
Expand Down
4 changes: 2 additions & 2 deletions dist/ember-resolver.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions dist/ember-resolver.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// ==========================================================================


// Version: 0.1.17
// Version: 0.1.20

(function() {
/*globals define registry requirejs */
Expand Down Expand Up @@ -542,11 +542,12 @@ define("ember/container-debug-adapter",
Ember.Application.initializer({
name: 'container-debug-adapter',

initialize: function(container, app) {
initialize: function() {
var app = arguments[1] || arguments[0];
var ContainerDebugAdapter = require('ember/container-debug-adapter');
var Resolver = require('ember/resolver');

container.register('container-debug-adapter:main', ContainerDebugAdapter);
app.register('container-debug-adapter:main', ContainerDebugAdapter);
app.inject('container-debug-adapter:main', 'namespace', 'application:main');
}
});
Expand Down
5 changes: 3 additions & 2 deletions dist/modules/ember-resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -532,11 +532,12 @@ define("ember/container-debug-adapter",
Ember.Application.initializer({
name: 'container-debug-adapter',

initialize: function(container, app) {
initialize: function() {
var app = arguments[1] || arguments[0];
var ContainerDebugAdapter = require('ember/container-debug-adapter');
var Resolver = require('ember/resolver');

container.register('container-debug-adapter:main', ContainerDebugAdapter);
app.register('container-debug-adapter:main', ContainerDebugAdapter);
app.inject('container-debug-adapter:main', 'namespace', 'application:main');
}
});
Expand Down
5 changes: 3 additions & 2 deletions packages/ember-resolver/lib/initializers.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
Ember.Application.initializer({
name: 'container-debug-adapter',

initialize: function(container, app) {
initialize: function() {
var app = arguments[1] || arguments[0];
var ContainerDebugAdapter = require('ember/container-debug-adapter');
var Resolver = require('ember/resolver');

container.register('container-debug-adapter:main', ContainerDebugAdapter);
app.register('container-debug-adapter:main', ContainerDebugAdapter);
app.inject('container-debug-adapter:main', 'namespace', 'application:main');
}
});
Expand Down

0 comments on commit 85368b0

Please sign in to comment.