mirror of https://github.com/rancher/ui.git
20 lines
490 B
JavaScript
20 lines
490 B
JavaScript
export function initialize(/*application*/) {
|
|
// Shortcuts for debugging. These should never be used in code.
|
|
window.l = function(name) {
|
|
return Ui.__container__.lookup(name);
|
|
};
|
|
|
|
window.lc = function(name) {
|
|
return Ui.__container__.lookup('controller:'+name);
|
|
};
|
|
|
|
window.s = Ui.__container__.lookup('service:store');
|
|
window.us = Ui.__container__.lookup('service:user-store');
|
|
}
|
|
|
|
export default {
|
|
name: 'lookup',
|
|
initialize: initialize,
|
|
after: 'user-store',
|
|
};
|