merge
This commit is contained in:
commit
c4116ca17c
4 changed files with 8 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
|||
.DS_Store
|
||||
build/js/*
|
||||
build/css
|
||||
build/Ox.*
|
||||
build/Ox.UI/*
|
||||
tools/geo/json/_cities.json
|
||||
|
|
|
@ -219,4 +219,4 @@ Ox.SmallVideoTimelineImage = function(options, self) {
|
|||
|
||||
return that;
|
||||
|
||||
}
|
||||
};
|
||||
|
|
|
@ -97,7 +97,7 @@ Ox.VideoElement = function(options, self) {
|
|||
function loadPages(callback) {
|
||||
var currentPage = self.currentPage,
|
||||
nextPage = Ox.mod(currentPage + 1, self.numberOfPages),
|
||||
previousPage = Ox.mod(currentPage - 1, self.numberOfPages)
|
||||
previousPage = Ox.mod(currentPage - 1, self.numberOfPages);
|
||||
loadPage(currentPage, function() {
|
||||
if (nextPage != currentPage) {
|
||||
loadPage(nextPage, function() {
|
||||
|
@ -276,7 +276,7 @@ Ox.VideoElement = function(options, self) {
|
|||
Ox.range(start, stop).forEach(function(i) {
|
||||
if (self.items[i]) {
|
||||
self.items[i].$videos.forEach(function($video) {
|
||||
$video[0].src = ''
|
||||
$video[0].src = '';
|
||||
$video.remove();
|
||||
});
|
||||
delete self.items[i];
|
||||
|
|
|
@ -85,11 +85,11 @@ Ox.parseHTML = (function() {
|
|||
html = Ox.encodeHTML(html);
|
||||
html = Ox.parseURLs(html);
|
||||
html = Ox.parseEmailAddresses(html);
|
||||
Ox.print(html, 'matches', matches);
|
||||
//Ox.print('Ox.parseHTML', html, 'matches', matches);
|
||||
matches.forEach(function(match, i) {
|
||||
html = html.replace(new RegExp(tab + i + tab, 'gi'), match);
|
||||
});
|
||||
html = html.replace(/\n/g, '<br/>\n')
|
||||
html = html.replace(/\n/g, '<br/>\n');
|
||||
// close extra opening (and remove extra closing) tags
|
||||
// note: this converts '"' to '"'
|
||||
return Ox.element('<div>').html(html).html();
|
||||
|
|
Loading…
Reference in a new issue