Skip to content

Commit

Permalink
Merge pull request #6 from phyxkal/master
Browse files Browse the repository at this point in the history
[travis] Add JSLint check
  • Loading branch information
nemesifier authored Jan 5, 2018
2 parents 0f282c1 + 722d702 commit 06ecc82
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .jslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"forin": false,
"fragment": true,
"newcap": false,
"nomen": false,
"nomen": true,
"on": false,
"plusplus": false,
"regexp": true,
Expand Down
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ before_install:
- pip install --no-cache-dir -U -r requirements-test.txt
- ./runflake8
- ./runisort
- npm install -g jslint
- jslint django_loci/static/django-loci/js/*.js

install:
- if [[ $TRAVIS_PYTHON_VERSION == "3.6" ]]; then pip install "django>=2.0,<2.1"; fi
Expand Down
2 changes: 1 addition & 1 deletion django_loci/static/django-loci/js/floorplan-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@

return map;
};
})(django.jQuery);
}(django.jQuery));

0 comments on commit 06ecc82

Please sign in to comment.