Lint errors
This commit is contained in:
parent
d09f5b70c7
commit
fb21a650ce
@ -144,7 +144,7 @@ define([
|
|||||||
var id = $content.attr('id');
|
var id = $content.attr('id');
|
||||||
if (!id) { throw new Error("The element must have a valid id"); }
|
if (!id) { throw new Error("The element must have a valid id"); }
|
||||||
var pattern = /(<media-tag src="([^"]*)" data-crypto-key="([^"]*)">)<\/media-tag>/g;
|
var pattern = /(<media-tag src="([^"]*)" data-crypto-key="([^"]*)">)<\/media-tag>/g;
|
||||||
var newHtmlFixed = newHtml.replace(pattern, function (all, tag, src, key) {
|
var newHtmlFixed = newHtml.replace(pattern, function (all, tag, src) {
|
||||||
var mt = tag;
|
var mt = tag;
|
||||||
if (mediaMap[src]) {
|
if (mediaMap[src]) {
|
||||||
mediaMap[src].forEach(function (n) {
|
mediaMap[src].forEach(function (n) {
|
||||||
|
|||||||
@ -610,7 +610,7 @@ define([
|
|||||||
var $hoverable = $('<span>', {'class': 'hoverable'}).appendTo($titleContainer);
|
var $hoverable = $('<span>', {'class': 'hoverable'}).appendTo($titleContainer);
|
||||||
|
|
||||||
// Buttons
|
// Buttons
|
||||||
var $text = $('<span>', {
|
$('<span>', {
|
||||||
'class': 'title pageTitle'
|
'class': 'title pageTitle'
|
||||||
}).appendTo($hoverable).text(config.pageTitle);
|
}).appendTo($hoverable).text(config.pageTitle);
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user