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
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
Ox.VideoElement = function(options, self) {
|
||||
|
||||
var self = self || {},
|
||||
that = new Ox.Element('<video>', self)
|
||||
self = self || {};
|
||||
var that = Ox.Element('<video>', self)
|
||||
.defaults({
|
||||
fps: 25,
|
||||
height: 0,
|
||||
|
|
@ -42,7 +42,7 @@ Ox.VideoElement = function(options, self) {
|
|||
self.video.currentTime = self.options.position;
|
||||
that.triggerEvent('loadedmetadata', {
|
||||
video: self.video
|
||||
})
|
||||
});
|
||||
},
|
||||
progress: function() {
|
||||
that.triggerEvent('progress', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue