-
-
Save briancavalier/1886590 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define({ | |
plugins: [ | |
{ module: "wire/debug" } | |
], | |
somethingFromTheParent: { $ref: 'somethingFromTheParent' } | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define({ | |
plugins: [ | |
{ module: "wire/debug" }, | |
{ | |
module: "my/wire/authentication", | |
providers: [ | |
["/foo", { module: "my/providers/foo" }], | |
["/bar", { module: "my/providers/bar" }] | |
] | |
} | |
], | |
app: { | |
wire: "my/app.spec" | |
}, | |
somethingFromTheParent: 'this is declared in the parent' | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEBUG (total: 0ms, context: 0ms / 0ms): Context init | |
debug.js:316DEBUG (total: 23ms, context: 0ms / 0ms): Context init | |
debug.js:359DEBUG (total: 29ms, context: 6ms / 6ms): ready plugins[] | |
Object | |
Object | |
debug.js:321DEBUG (total: 32ms, context: 3ms / 9ms): Context ready | |
Object | |
destroy: function apiDestroy() { | |
plugins: Array[1] | |
resolve: function apiResolveRef(ref) { | |
wire: function wireChild(spec) { | |
__proto__: Object | |
debug.js:359DEBUG (total: 230ms, context: 230ms / 230ms): ready plugins[] | |
Object | |
Object | |
debug.js:359DEBUG (total: 265ms, context: 35ms / 265ms): ready undefined[][] function (method, args, hasBody){ | |
console.log("HERE"); | |
return xhr(method, args, hasBody); | |
} | |
Object | |
debug.js:359DEBUG (total: 269ms, context: 4ms / 269ms): ready undefined[][] function (method, args, hasBody){ | |
console.log("HERE"); | |
return xhr(method, args, hasBody); | |
} | |
Object | |
debug.js:359DEBUG (total: 319ms, context: 50ms / 319ms): ready undefined[] function (method, args, hasBody){ | |
console.log("HERE"); | |
return xhr(method, args, hasBody); | |
} | |
Object | |
debug.js:359DEBUG (total: 323ms, context: 4ms / 323ms): ready plugins[] | |
Object | |
Object | |
debug.js:321DEBUG (total: 326ms, context: 3ms / 326ms): Context ready | |
Object | |
app: Object | |
destroy: function apiDestroy() { | |
plugins: Array[2] | |
resolve: function apiResolveRef(ref) { | |
wire: function wireChild(spec) { | |
__proto__: Object |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment