diff options
author | Giovane <giovaneliberato@gmail.com> | 2015-12-30 16:03:27 -0200 |
---|---|---|
committer | Giovane <giovaneliberato@gmail.com> | 2015-12-30 16:03:27 -0200 |
commit | 111205c8cd74d553201b42db3041d870ae833165 (patch) | |
tree | 4a2a4f5158e45b4802c06336d792f2905c45f020 /web-ui/app/js/style_guide/main.js | |
parent | f8418b0a41298777834e00f4276b2a34d8c6ad39 (diff) |
Updates jshint to latest version #565
- Change 'use strict' mode to function-level
- Update needed files
Diffstat (limited to 'web-ui/app/js/style_guide/main.js')
-rw-r--r-- | web-ui/app/js/style_guide/main.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/web-ui/app/js/style_guide/main.js b/web-ui/app/js/style_guide/main.js index 170d1187..32c213cf 100644 --- a/web-ui/app/js/style_guide/main.js +++ b/web-ui/app/js/style_guide/main.js @@ -14,9 +14,8 @@ * You should have received a copy of the GNU Affero General Public License * along with Pixelated. If not, see <http://www.gnu.org/licenses/>. */ -'use strict'; - $(document).ready(function(){ + 'use strict'; $('a[href*=#]').click(function() { if (location.pathname.replace(/^\//,'') === this.pathname.replace(/^\//,'') && location.hostname === this.hostname) { |