Skip to content
Snippets Groups Projects
Commit c550001f authored by codedust's avatar codedust
Browse files

Prevent naming collision with jQuery's $-function

parent 6bea6b29
Branches
Tags
No related merge requests found
...@@ -12,7 +12,10 @@ ...@@ -12,7 +12,10 @@
* You should have received a copy of the GNU Affero General Public License * You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
var firmwarewizard = function() {
var app = {};
// helper functions
function $(s) { function $(s) {
return document.querySelector(s); return document.querySelector(s);
} }
...@@ -79,9 +82,7 @@ function scrollDown() { ...@@ -79,9 +82,7 @@ function scrollDown() {
} }
} }
var firmwarewizard = function() { // constants
var app = {};
var IGNORED_ELEMENTS = [ var IGNORED_ELEMENTS = [
'./', '../', 'experimental.manifest', 'beta.manifest', 'stable.manifest', './', '../', 'experimental.manifest', 'beta.manifest', 'stable.manifest',
'-tftp', '-fat', '-loader', '-NA', '-x2-', '-hsv2', '-p1020' '-tftp', '-fat', '-loader', '-NA', '-x2-', '-hsv2', '-p1020'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment