Skip to content

Commit 66283ef

Browse files
committed
fixes from 'use strict'
1 parent 1dc3d2b commit 66283ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var IndexSources = [
4545
// markup setup to use line numbers started at specified line. Used in both docco and
4646
// doccoHtml to add prettify markup to the code sections of the docs.
4747
var highlight = function (code, startLine) {
48-
html = '<?prettify';
48+
var html = '<?prettify';
4949
if (_.isNumber(startLine))
5050
html += ' linenums=' + startLine;
5151
html += '><pre class="prettyprint">' + _.escape(code) + '</pre>'
@@ -62,7 +62,7 @@ marked.setOptions({ highlight: highlight });
6262
// [google-code-prettify](https://code.google.com/p/google-code-prettify/)
6363
var doccoHtml = function (path, html, config) {
6464
var walk, $, docs = [], sections = [], marker = "<!-- __MARKER__ -->";
65-
isValidComment = function (node) {
65+
var isValidComment = function (node) {
6666
return node.type === 'comment' && !String(node.nodeValue).match(/\[if\s+[^\]]+\]/);
6767
};
6868
walk = function () {

0 commit comments

Comments
 (0)