Skip to content

Commit

Permalink
Use strict mode of javascript.
Browse files Browse the repository at this point in the history
  • Loading branch information
panteng committed Apr 13, 2016
1 parent 8a71f19 commit 3f3750c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/src/javascripts/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
'use strict';

// load dependencies
var $ = jQuery = require('jquery');
var $ = window.$ = window.jQuery = require('jquery');
var Swiper = require('swiper/dist/js/swiper.jquery.js');
var animationControl = require('./animation-control.js');


$(document).ready(function () {
var bgMusic = $('audio').get(0);
var $btnMusic = $('.btn-music');
Expand Down

0 comments on commit 3f3750c

Please sign in to comment.