Skip to content

Commit

Permalink
feat(): Add FastClick plugin. Close #14
Browse files Browse the repository at this point in the history
  • Loading branch information
oswaldoacauan committed Dec 8, 2013
1 parent 2e00cf1 commit dc02d8a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/assets/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
$surface = $body,
$content = $('.content', $surface);

// FastClick bindings
// =================
FastClick.attach(document.body);

// Drawer bindings
// =================
Drawer.init();
Expand Down
1 change: 1 addition & 0 deletions src/default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
{{ghost_foot}}

<!-- build:js /assets/js/foot-scripts.min.js -->
<script src="/assets/_components/fastclick/lib/fastclick.js"></script>
<script src="/assets/_components/nprogress/nprogress.js"></script>
<script src="/assets/_components/prismjs/prism.js"></script>
<script src="/assets/_components/jquery-pjax/jquery.pjax.js"></script>
Expand Down

2 comments on commit dc02d8a

@digitaljhelms
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does this lib come from; I don't see it added to bower.json in this commit or any other?

@oswaldoacauan
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ops, forgot about --save-dev on bower install :P
Will update it later today

Please sign in to comment.