forked from 0x2620/oxjs
remove Ox.each, , $.extend, $.map and $.merge
This commit is contained in:
parent
da9e5dbb29
commit
4cc754a28d
35 changed files with 104 additions and 131 deletions
|
|
@ -34,7 +34,7 @@ Ox.BlockTimeline = function(options, self) {
|
|||
}
|
||||
});
|
||||
|
||||
$.extend(self, {
|
||||
Ox.extend(self, {
|
||||
$images: [],
|
||||
$lines: [],
|
||||
$markerPoint: [],
|
||||
|
|
@ -157,7 +157,7 @@ Ox.BlockTimeline = function(options, self) {
|
|||
context = canvas.getContext('2d'),
|
||||
imageData = context.createImageData(width, height),
|
||||
data = imageData.data,
|
||||
points = $.map(self.options.points, function(v, i) {
|
||||
points = self.options.points.map(function(v, i) {
|
||||
return Math.round(v) + i;
|
||||
}),
|
||||
top = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue