|
|
@ -184,7 +184,7 @@
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$scope.refreshHighlighting = function() {
|
|
|
|
$scope.refreshHighlighting = function() {
|
|
|
|
var sourceCodes = document.querySelectorAll('main .file .code.source');
|
|
|
|
var sourceCodes = $window.document.querySelectorAll('main .file .code.source');
|
|
|
|
|
|
|
|
|
|
|
|
for (var i = 0; i < sourceCodes.length; i++) {
|
|
|
|
for (var i = 0; i < sourceCodes.length; i++) {
|
|
|
|
var sourceCode = sourceCodes[i];
|
|
|
|
var sourceCode = sourceCodes[i];
|
|
|
@ -260,7 +260,7 @@
|
|
|
|
$scope.downloadZip = function() {
|
|
|
|
$scope.downloadZip = function() {
|
|
|
|
var zip = new JSZip();
|
|
|
|
var zip = new JSZip();
|
|
|
|
|
|
|
|
|
|
|
|
var sourceCodes = document.querySelectorAll('main .file .code.source');
|
|
|
|
var sourceCodes = $window.document.querySelectorAll('main .file .code.source');
|
|
|
|
|
|
|
|
|
|
|
|
for (var i = 0; i < sourceCodes.length; i++) {
|
|
|
|
for (var i = 0; i < sourceCodes.length; i++) {
|
|
|
|
var sourceCode = sourceCodes[i];
|
|
|
|
var sourceCode = sourceCodes[i];
|
|
|
|