Skip to content

Commit

Permalink
added a quick powershell script to zip-up for twitch
Browse files Browse the repository at this point in the history
  • Loading branch information
xTVaser committed Jan 19, 2018
1 parent c62daed commit d813f30
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.zip
*.code-workspace
8 changes: 8 additions & 0 deletions deploy.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[String[]] $files = "frontend\css",
"frontend\fonts",
"frontend\img",
"frontend\js",
"frontend\config.html",
"frontend\viewer.html"
Remove-Item -Path "frontend.zip"
Compress-Archive -Path $files -DestinationPath "frontend.zip" -Update
6 changes: 3 additions & 3 deletions frontend/js/third-party/bootstrap-slider/bootstrap-slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ var windowIsDefined = (typeof window === "undefined" ? "undefined" : _typeof(win

// Polyfill console methods
if (windowIsDefined && !window.console) {
window.console = {};
// window.console = {};
}
if (windowIsDefined && !window.console.log) {
window.console.log = function () {};
// window.console.log = function () {};
}
if (windowIsDefined && !window.console.warn) {
window.console.warn = function () {};
// window.console.warn = function () {};
}

// Reference to Slider constructor
Expand Down
2 changes: 1 addition & 1 deletion frontend/js/third-party/nicescroll/jquery.nicescroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -2052,7 +2052,7 @@
}

if (self.iframexd) {
if ("console" in _win) console.log('NiceScroll error: policy restriced iframe');
// if ("console" in _win) console.log('NiceScroll error: policy restriced iframe');
return true; //cross-domain - I can't manage this
}

Expand Down
7 changes: 0 additions & 7 deletions workspace.code-workspace

This file was deleted.

0 comments on commit d813f30

Please sign in to comment.