forked from 0x2620/oxjs
remove new for all Ox.Elements, dont declare arguments again, add some semicolons
This commit is contained in:
parent
3eab11e967
commit
b27ed00356
69 changed files with 430 additions and 440 deletions
|
|
@ -20,8 +20,8 @@ Ox.IconItem = function(options, self) {
|
|||
|
||||
//Ox.print('IconItem', options, self)
|
||||
|
||||
var self = self || {},
|
||||
that = new Ox.Element({}, self)
|
||||
self = self || {};
|
||||
var that = Ox.Element({}, self)
|
||||
.defaults({
|
||||
height: 128,
|
||||
id: '',
|
||||
|
|
@ -31,7 +31,7 @@ Ox.IconItem = function(options, self) {
|
|||
width: 128,
|
||||
url: ''
|
||||
})
|
||||
.options(options || {})
|
||||
.options(options || {});
|
||||
|
||||
$.extend(self, {
|
||||
fontSize: self.options.size == 64 ? 6 : 9,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue