Loading courseWP.js +3 −3 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ /* jshint node: true, multistr: true, trailing: true, esnext: true */ "use strict"; const VERSION = '0.11.4', const VERSION = '0.11.5', JQUERY = 'http://code.jquery.com/jquery-2.1.1.min.js', FILEPATH = '/home/www/www'; Loading Loading @@ -66,10 +66,10 @@ console.log(opt); if (opt['--theme']) { theme = require('./themes/' + opt['--theme']); } if (opt['--link'] && ! /^http/i.test(opt['--link'])) { if (opt['--link'] && (opt['--link'].indexOf('//') === -1)) { opt['--link'] = 'http://' + opt['--link']; } if (opt['--logo'] && ! /^http/i.test(opt['--logo'])) { if (opt['--logo'] && (opt['--logo'].indexOf('//') === -1)) { opt['--logo'] = opt['--urlprefix'] + '/img/' + opt['--logo']; } if (opt['--options']) { Loading Loading
courseWP.js +3 −3 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ /* jshint node: true, multistr: true, trailing: true, esnext: true */ "use strict"; const VERSION = '0.11.4', const VERSION = '0.11.5', JQUERY = 'http://code.jquery.com/jquery-2.1.1.min.js', FILEPATH = '/home/www/www'; Loading Loading @@ -66,10 +66,10 @@ console.log(opt); if (opt['--theme']) { theme = require('./themes/' + opt['--theme']); } if (opt['--link'] && ! /^http/i.test(opt['--link'])) { if (opt['--link'] && (opt['--link'].indexOf('//') === -1)) { opt['--link'] = 'http://' + opt['--link']; } if (opt['--logo'] && ! /^http/i.test(opt['--logo'])) { if (opt['--logo'] && (opt['--logo'].indexOf('//') === -1)) { opt['--logo'] = opt['--urlprefix'] + '/img/' + opt['--logo']; } if (opt['--options']) { Loading