Skip to content

Commit

Permalink
Use strict and support for eslint.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacerider committed Sep 7, 2016
1 parent 42f6023 commit 8c44ab9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dev/js/fett.fastclick.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@
* @file
* Initialize fastclick.
*/

/* global FastClick */
(function ($, document) {

'use strict';

Drupal.behaviors.FettFastclick = {
attach: function (context) {
FastClick.attach(document.body);
}
};

}(jQuery, document));

0 comments on commit 8c44ab9

Please sign in to comment.