forked from 0x2620/oxjs
various improvements in OxJS and OxUI
This commit is contained in:
parent
74b9a25387
commit
7380595c7e
48 changed files with 184 additions and 161 deletions
|
|
@ -22,7 +22,7 @@ Ox.Flipbook = function(options, self) {
|
|||
'width': '100%'
|
||||
})
|
||||
.hide(),
|
||||
that = new Ox.Element('div', self)
|
||||
that = new Ox.Element({}, self)
|
||||
.defaults({
|
||||
frames: {},
|
||||
duration: 0,
|
||||
|
|
@ -85,7 +85,7 @@ Ox.Flipbook = function(options, self) {
|
|||
});
|
||||
}
|
||||
|
||||
self.onChange = function(key, value) {
|
||||
self.setOption = function(key, value) {
|
||||
if (key == 'frames') {
|
||||
cacheFrames();
|
||||
} else if (key == 'icon') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue