commit 1b300a19929685076525432158d01a1d962ede6a
parent d3c8ff24ef32fcc6583f2dc3abc145582db98f96
Author: Hugo Soucy <hugo@soucy.cc>
Date: Sun, 11 Dec 2016 11:27:04 -0500
Add `use strict`
Diffstat:
1 file changed, 1 insertion(+), 20 deletions(-)
diff --git a/static/dev/js/custom/init.js b/static/dev/js/custom/init.js
@@ -1,4 +1,5 @@
function setNavigation() {
+ 'use strict';
var $nav = document.querySelector('.nav');
var $nav_button;
var $nav_panel;
@@ -28,23 +29,3 @@ function setNavigation() {
}
setNavigation();
-
-// function getWebmentions() {
-// console.log('!!!!');
-
-// atomic.setContentType('application/json');
-// atomic.get('http://webmention.io/api/mentions?jsonp=f&target=http://hugo.soucy.cc/note/2016/11/browsers-not-apps-are-the-future-of-mobile')
-// .success(function (data, xhr) {
-// console.log(data, xhr);
-
-// })
-// .error(function (data, xhr) {
-// console.log(data, xhr);
-
-// })
-// .always(function (data, xhr) {
-// console.log(data, xhr);
-// });
-// }
-
-// getWebmentions();