landers.base
Version:
landers.base
23 lines (20 loc) • 557 B
JavaScript
; (function (window, $, Landers) {
Landers = Landers || {};
Landers.SingleApp = {
debug:false,
init:function(opts){
var that = this;
opts = opts || {};
opts.attrs = opts.attrs || {};
for (var i in opts.attrs) {
that[i] = opts.attrs[i];
}
if (opts.callback) {
opts.callback.call(that);
}
if (that.initialize) {
that.initialize();
}
}
};
})(this, jQuery, Landers);