Advertisement
Guest User

Untitled

a guest
Mar 21st, 2014
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function() {
  2.     var Foo = {
  3.         inherit: function (className, obj) {
  4.             // TODO:
  5.         }
  6.     };
  7.  
  8.     return Foo.inherit("MyClass", {
  9.         defaults: {
  10.             firstName: "",
  11.             lastName: ""
  12.         },
  13.  
  14.         inject: {
  15.             i18n: null
  16.         },
  17.  
  18.         _bar: function () {
  19.             this.$.i18n;
  20.         },
  21.  
  22.         start: function () {
  23.             _bar();
  24.         }
  25.     });
  26. }());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement