app.entries = result.body.entries;
app.path = filePath;
app.pathParts = filePath.split('/').filter(function (e) { return !!e; });
+
+ Vue.nextTick(function () {
+ $(function () {
+ $('[data-toggle="tooltip"]').tooltip();
+ });
+ });
});
}
});
}
+Vue.filter('prettyDate', function (value) {
+ var d = new Date(value);
+ return d.toDateString();
+});
+
var app = new Vue({
el: '#app',
data: {
}
});
-window.app = app;
-
login(localStorage.username, localStorage.password);
})();