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
|
|
@ -2,7 +2,7 @@
|
|||
Ox.BlockTimeline = function(options, self) {
|
||||
|
||||
var self = self || {},
|
||||
that = new Ox.Element('div', self)
|
||||
that = new Ox.Element({}, self)
|
||||
.defaults({
|
||||
cuts: [],
|
||||
duration: 0,
|
||||
|
|
@ -85,7 +85,7 @@ Ox.BlockTimeline = function(options, self) {
|
|||
|
||||
function addLine(i) {
|
||||
// fixme: get URLs once, not once for every line
|
||||
self.$lines[i] = new Ox.Element('div')
|
||||
self.$lines[i] = new Ox.Element({})
|
||||
.css({
|
||||
top: i * (self.height + self.margin) + 'px',
|
||||
width: self.options.width + 'px'
|
||||
|
|
@ -345,7 +345,7 @@ Ox.BlockTimeline = function(options, self) {
|
|||
});
|
||||
}
|
||||
|
||||
self.onChange = function(key, value) {
|
||||
self.setOption = function(key, value) {
|
||||
//Ox.print('onChange:', key, value)
|
||||
if (key == 'points') {
|
||||
//Ox.print('key', key, 'value', value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue