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
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,10 @@
* 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/>.
*/
var firmwarewizard = function() {
var app = {};
// helper functions
function $(s) {
return document.querySelector(s);
}
......@@ -79,9 +82,7 @@ function scrollDown() {
}
}
var firmwarewizard = function() {
var app = {};
// constants
var IGNORED_ELEMENTS = [
'./', '../', 'experimental.manifest', 'beta.manifest', 'stable.manifest',
'-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