Commit 333fcc63 authored by yPhil's avatar yPhil

Sys: Pre-RS

parent 6df59b00
......@@ -952,3 +952,9 @@ li.feedItem:hover {
#indicatorContainer:hover {
opacity: 1;
}
#remotestorage-widget {
position: absolute;
top: 10px;
right: 10px;
}
......@@ -8,15 +8,6 @@ var feedrat = require('feedrat');
// require('request').debug = true;
var RemoteStorage = require('remotestoragejs');
var Widget = require('remotestorage-widget');
const remoteStorage = new RemoteStorage(/* options */);
remoteStorage.access.claim('bookmarks', 'rw');
const widget = new Widget(remoteStorage);
// widget.attach();
router.get('/', function(req, res) {
......
......@@ -41,6 +41,9 @@
<script src="/static/lib/js/prefs.js"></script>
<script src="/static/lib/js/i18n.js"></script>
<!-- <script src="/bower/remotestorage/release/remotestorage.js"></script> -->
<!-- <script src="/node/remotestorage-widget/build/widget.js"></script>
-->
<script>
MOB.language = MOB.prefs.readConfig('lang');
......@@ -81,6 +84,19 @@
$(document).ready(function() {
$.getScript('/static/lib/js/init.js');
// widget.attach();
// const remoteStorage = new RemoteStorage(/* options */);
// remoteStorage.access.claim('bookmarks', 'rw');
// const widget = new Widget(remoteStorage);
// widget.attach();
// remoteStorage.on('connected', function() {
// console.log('user connected their storage');
// });
});
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment