Everyone’s got their own coding style. So I thought I would share mine:
var namespace = namespace || {};
(function(global){
var SomeObj = global.SomeObj = {
};
})(namespace);
Object.append({}, new Events, new Options);
Everyone’s got their own coding style. So I thought I would share mine:
var namespace = namespace || {};
(function(global){
var SomeObj = global.SomeObj = {
};
})(namespace);
Object.append({}, new Events, new Options);