use Ox.$, not $

This commit is contained in:
rlx 2014-09-20 12:37:27 +02:00
parent f2bb021207
commit 5e776eb6ae

View file

@ -79,7 +79,7 @@ Ox.BlockVideoTimeline = function(options, self) {
addLine(i); addLine(i);
}); });
self.$positionMarker = $('<img>') self.$positionMarker = Ox.$('<img>')
.attr({ .attr({
src: Ox.UI.getImageURL('markerPosition') src: Ox.UI.getImageURL('markerPosition')
}) })
@ -91,7 +91,7 @@ Ox.BlockVideoTimeline = function(options, self) {
self.$pointMarker = {}; self.$pointMarker = {};
['in', 'out'].forEach(function(point) { ['in', 'out'].forEach(function(point) {
var titlecase = Ox.toTitleCase(point); var titlecase = Ox.toTitleCase(point);
self.$pointMarker[point] = $('<img>') self.$pointMarker[point] = Ox.$('<img>')
.addClass('OxMarkerPoint' + titlecase) .addClass('OxMarkerPoint' + titlecase)
.attr({ .attr({
src: Ox.UI.getImageURL('marker' + titlecase) src: Ox.UI.getImageURL('marker' + titlecase)
@ -102,7 +102,7 @@ Ox.BlockVideoTimeline = function(options, self) {
} }
function addLine(i) { function addLine(i) {
self.$lines[i] = $('<div>') self.$lines[i] = Ox.$('<div>')
.css({ .css({
position: 'absolute', position: 'absolute',
left: self.margin / 2 + 'px', left: self.margin / 2 + 'px',
@ -118,7 +118,7 @@ Ox.BlockVideoTimeline = function(options, self) {
marginLeft: -i * self.options.width + 'px' marginLeft: -i * self.options.width + 'px'
}) })
.appendTo(self.$lines[i]); .appendTo(self.$lines[i]);
self.$interfaces[i] = $('<div>') self.$interfaces[i] = Ox.$('<div>')
// OxTarget and OxSpecialTarget are needed for InfoList // OxTarget and OxSpecialTarget are needed for InfoList
.addClass('OxInterface OxTarget OxSpecialTarget') .addClass('OxInterface OxTarget OxSpecialTarget')
.css({ .css({