diff --git a/client/config.js b/client/config.js index 8fcebd8..9d1b4f3 100644 --- a/client/config.js +++ b/client/config.js @@ -201,20 +201,10 @@ System.config({ } }, bundles: { - "app-build-d5c126cdef.js": [ - "SnapshotsDB.js", - "add-snapshot-form.html!github:systemjs/plugin-text@0.0.3.js", - "add-snapshot-form.js", + "app-build-cd89144a80.js": [ "app.html!github:systemjs/plugin-text@0.0.3.js", "app.js", - "date-format.js", - "index.html!github:systemjs/plugin-text@0.0.3.js", - "index.js", - "main.js", - "snapshot.html!github:systemjs/plugin-text@0.0.3.js", - "snapshot.js", - "snapshots-list.html!github:systemjs/plugin-text@0.0.3.js", - "snapshots-list.js" + "main.js" ], "aurelia-b23cdcaf13.js": [ "github:jspm/nodelibs-process@0.1.2.js", @@ -305,25 +295,5 @@ System.config({ "npm:process@0.11.2/browser.js" ] }, - depCache: { - "add-snapshot-form.js": [ - "npm:aurelia-framework@1.0.0-beta.1.1.3.js", - "SnapshotsDB.js" - ], - "date-format.js": [ - "npm:moment@2.11.2.js" - ], - "snapshot.js": [ - "npm:aurelia-framework@1.0.0-beta.1.1.3.js", - "SnapshotsDB.js" - ], - "snapshots-list.js": [ - "npm:aurelia-framework@1.0.0-beta.1.1.3.js", - "SnapshotsDB.js" - ], - "SnapshotsDB.js": [ - "npm:aurelia-framework@1.0.0-beta.1.1.3.js", - "npm:aurelia-fetch-client@1.0.0-beta.1.1.0.js" - ] - } + depCache: {} }); \ No newline at end of file diff --git a/client/dist/SnapshotsDB.js b/client/dist/SnapshotsDB.js deleted file mode 100644 index 3e0535f..0000000 --- a/client/dist/SnapshotsDB.js +++ /dev/null @@ -1,95 +0,0 @@ -System.register(['aurelia-framework', 'aurelia-fetch-client'], function (_export) { - 'use strict'; - - var inject, HttpClient, SnapshotsDB; - - var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })(); - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } - - return { - setters: [function (_aureliaFramework) { - inject = _aureliaFramework.inject; - }, function (_aureliaFetchClient) { - HttpClient = _aureliaFetchClient.HttpClient; - }], - execute: function () { - SnapshotsDB = (function () { - function SnapshotsDB(http) { - var _this = this; - - _classCallCheck(this, _SnapshotsDB); - - this.snapshots = []; - - http.configure(function (config) { - config.useStandardConfiguration(); - }); - - this.http = http; - - this.http.fetch('snapshots').then(function (response) { - return response.json(); - }).then(function (snapshots) { - snapshots.forEach(function (snapshot) { - _this.snapshots.push(snapshot); - }); - }); - } - - _createClass(SnapshotsDB, [{ - key: 'getAll', - value: function getAll() { - return this.snapshots; - } - }, { - key: 'add', - value: function add(url) { - var _this2 = this; - - var myHeaders = new Headers(); - myHeaders.append('Content-Type', 'application/json'); - return this.http.fetch('snapshot', { - method: 'post', - headers: myHeaders, - body: JSON.stringify({ - url: url - }) - }).then(function (response) { - return response.json(); - }).then(function (snapshot) { - _this2.snapshots.push(snapshot); - }); - } - }, { - key: 'remove', - value: function remove(snapshot) { - var _this3 = this; - - this.http.fetch('snapshot/' + snapshot._id, { - method: 'DELETE' - }).then(function (response) { - _this3.snapshots.splice(_this3.snapshots.indexOf(snapshot), 1); - }); - } - }, { - key: 'get', - value: function get(id) { - return this.http.fetch('snapshot/' + id, { - method: 'GET' - }).then(function (response) { - return response.json(); - }); - } - }]); - - var _SnapshotsDB = SnapshotsDB; - SnapshotsDB = inject(HttpClient)(SnapshotsDB) || SnapshotsDB; - return SnapshotsDB; - })(); - - _export('SnapshotsDB', SnapshotsDB); - } - }; -}); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNuYXBzaG90c0RCL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vZDogJ3Bvc3QnLFxyXG5cdFx0XHRoZWFkZXJzOiBteUhlYWRlcnMsXHJcblx0XHRcdGJvZHk6IEpTT04uc3RyaW5naWZ5KHtcclxuXHRcdFx0XHR1cmw6IHVybFxyXG5cdFx0XHR9KVxyXG5cdFx0fSlcclxuXHRcdC50aGVuKHJlc3BvbnNlID0+IHJlc3BvbnNlLmpzb24oKSlcclxuXHRcdC50aGVuKHNuYXBzaG90ID0+IHtcclxuXHRcdFx0dGhpcy5zbmFwc2hvdHMucHVzaChzbmFwc2hvdCk7XHJcblx0XHR9KTtcclxuXHR9XHJcblx0cmVtb3ZlKHNuYXBzaG90KXtcclxuXHRcdHRoaXMuaHR0cC5mZXRjaCgnc25hcHNob3QvJyArIHNuYXBzaG90Ll9pZCwge1xyXG5cdFx0XHRtZXRob2Q6ICdERUxFVEUnXHJcblx0XHR9KVxyXG5cdFx0LnRoZW4ocmVzcG9uc2UgPT4ge1xyXG5cdFx0XHR0aGlzLnNuYXBzaG90cy5zcGxpY2UodGhpcy5zbmFwc2hvdHMuaW5kZXhPZihzbmFwc2hvdCksIDEpO1xyXG5cdFx0fSk7XHJcblx0fVxyXG5cdGdldChpZCl7XHJcblx0XHRyZXR1cm4gdGhpcy5odHRwLmZldGNoKCdzbmFwc2hvdC8nICsgaWQsIHtcclxuXHRcdFx0bWV0aG9kOiAnR0VUJ1xyXG5cdFx0fSlcclxuXHRcdC50aGVuKHJlc3BvbnNlID0+IHJlc3BvbnNlLmpzb24oKSk7XHJcblx0fVxyXG59Il0sInNvdXJjZVJvb3QiOiIvc291cmNlLyJ9 diff --git a/client/dist/app-build-cd89144a80.js b/client/dist/app-build-cd89144a80.js new file mode 100644 index 0000000..ad9c120 --- /dev/null +++ b/client/dist/app-build-cd89144a80.js @@ -0,0 +1 @@ +"bundle";!function(){var a=System.get("@@amd-helpers").createDefine();define("app.html!github:systemjs/plugin-text@0.0.3.js",[],function(){return''}),a()}(),System.register("app.js",[],function(a){"use strict";function b(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var c,d=function(){function a(a,b){for(var c=0;c
Or use the Save in Frost bookmarklet.
'}),a()}(),System.register("add-snapshot-form.js",["aurelia-framework","SnapshotsDB"],function(a){"use strict";function b(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var c,d,e,f=function(){function a(a,b){for(var c=0;c
'}),a()}(),System.register("app.js",[],function(a){"use strict";function b(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var c,d=function(){function a(a,b){for(var c=0;c
'}),a()}(),System.register("index.js",[],function(a){"use strict";function b(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var c;return{setters:[],execute:function(){c=function d(){b(this,d)},a("Index",c)}}}),System.register("main.js",[],function(a){"use strict";function b(a){a.use.standardConfiguration().developmentLogging(),a.start().then(function(){return a.setRoot()})}return a("configure",b),{setters:[],execute:function(){}}}),function(){var a=System.get("@@amd-helpers").createDefine();define("snapshot.html!github:systemjs/plugin-text@0.0.3.js",[],function(){return''}),a()}(),System.register("snapshot.js",["aurelia-framework","SnapshotsDB"],function(a){"use strict";function b(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var c,d,e,f=function(){function a(a,b){for(var c=0;c

${snapshot.title} ${snapshot.title}

${snapshot.url}

${snapshot.description}

Archived ${snapshot.archived | dateFormat}
The snowflake icon for Frost

Save a copy of your favorite pages, forever.

You can use the form above or add this Save in Frost bookmarklet to your browser\'s bookmarks. Activating it will save the page you\'re looking at without having to open up Frost!

'}),a()}(),System.register("SnapshotsDB.js",["aurelia-framework","aurelia-fetch-client"],function(a){"use strict";function b(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var c,d,e,f=function(){function a(a,b){for(var c=0;c + +
diff --git a/client/dist/add-snapshot-form.js b/client/dist/components/add-snapshot-form.js similarity index 51% rename from client/dist/add-snapshot-form.js rename to client/dist/components/add-snapshot-form.js index 6a34f00..43a5570 100644 --- a/client/dist/add-snapshot-form.js +++ b/client/dist/components/add-snapshot-form.js @@ -1,4 +1,4 @@ -System.register(['aurelia-framework', 'SnapshotsDB'], function (_export) { +System.register(['aurelia-framework', 'services/SnapshotsDB'], function (_export) { 'use strict'; var inject, SnapshotsDB, AddSnapshotForm; @@ -10,8 +10,8 @@ System.register(['aurelia-framework', 'SnapshotsDB'], function (_export) { return { setters: [function (_aureliaFramework) { inject = _aureliaFramework.inject; - }, function (_SnapshotsDB) { - SnapshotsDB = _SnapshotsDB.SnapshotsDB; + }, function (_servicesSnapshotsDB) { + SnapshotsDB = _servicesSnapshotsDB.SnapshotsDB; }], execute: function () { AddSnapshotForm = (function () { @@ -42,4 +42,4 @@ System.register(['aurelia-framework', 'SnapshotsDB'], function (_export) { } }; }); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFkZC1zbmFwc2hvdC1mb3JtLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OzswQkFJYSxlQUFlOzs7Ozs7Ozs4QkFKcEIsTUFBTTs7OEJBQ04sV0FBVzs7O0FBR04sa0JBQWU7QUFJZixhQUpBLGVBQWUsQ0FJZCxXQUFXLEVBQUM7OztVQUh6QixHQUFHLEdBQUcsRUFBRTtVQUNSLElBQUksR0FBRyxFQUFFOztBQUdSLFNBQUksQ0FBQyxXQUFXLEdBQUcsV0FBVyxDQUFDO0FBQy9CLFNBQUksQ0FBQyxJQUFJLEdBQUcsTUFBTSxDQUFDLFFBQVEsQ0FBQyxJQUFJLENBQUM7S0FDakM7O2lCQVBXLGVBQWU7O1lBUXJCLGtCQUFFO0FBQ1AsVUFBSSxDQUFDLFdBQVcsQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0FBQy9CLFVBQUksQ0FBQyxHQUFHLEdBQUcsRUFBRSxDQUFDO01BQ2Q7OzsyQkFYVyxlQUFlO0FBQWYsbUJBQWUsR0FEM0IsTUFBTSxDQUFD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MsUUFBUSxDQUFDLElBQUksQ0FBQztLQUNqQzs7aUJBUFcsZUFBZTs7WUFRckIsa0JBQUU7QUFDUCxVQUFJLENBQUMsV0FBVyxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDL0IsVUFBSSxDQUFDLEdBQUcsR0FBRyxFQUFFLENBQUM7TUFDZDs7OzJCQVhXLGVBQWU7QUFBZixtQkFBZSxHQUQzQixNQUFNLENBQUMsV0FBVyxDQUFDLENBQ1AsZUFBZSxLQUFmLGVBQWU7V0FBZixlQUFlIiwiZmlsZSI6ImNvbXBvbmVudHMvYWRkLXNuYXBzaG90LWZvcm0uanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge2luamVjdH0gZnJvbSAnYXVyZWxpYS1mcmFtZXdvcmsnO1xyXG5pbXBvcnQge1NuYXBzaG90c0RCfSBmcm9tICdzZXJ2aWNlcy9TbmFwc2hvdHNEQic7XHJcblxyXG5AaW5qZWN0KFNuYXBzaG90c0RCKVxyXG5leHBvcnQgY2xhc3MgQWRkU25hcHNob3RGb3Jte1xyXG5cdHVybCA9ICcnO1xyXG5cdGhyZWYgPSAnJztcclxuIFxyXG4gXHRjb25zdHJ1Y3RvcihTbmFwc2hvdHNEQil7XHJcblx0XHR0aGlzLlNuYXBzaG90c0RCID0gU25hcHNob3RzREI7XHJcblx0XHR0aGlzLmhyZWYgPSB3aW5kb3cubG9jYXRpb24uaHJlZjtcclxuXHR9XHJcblx0c3VibWl0KCl7XHJcblx0XHR0aGlzLlNuYXBzaG90c0RCLmFkZCh0aGlzLnVybCk7XHJcblx0XHR0aGlzLnVybCA9ICcnO1xyXG5cdH1cclxufSJdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ== diff --git a/client/dist/components/bookmarklet.html b/client/dist/components/bookmarklet.html new file mode 100644 index 0000000..cfc1173 --- /dev/null +++ b/client/dist/components/bookmarklet.html @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/client/dist/components/bookmarklet.js b/client/dist/components/bookmarklet.js new file mode 100644 index 0000000..599a61b --- /dev/null +++ b/client/dist/components/bookmarklet.js @@ -0,0 +1,23 @@ +System.register([], function (_export) { + 'use strict'; + + var Bookmarklet; + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + + return { + setters: [], + execute: function () { + Bookmarklet = function Bookmarklet() { + _classCallCheck(this, Bookmarklet); + + this.appPath = ''; + + this.appPath = window.location.origin + window.location.pathname; + }; + + _export('Bookmarklet', Bookmarklet); + } + }; +}); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvYm9va21hcmtsZXQuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0tBQWEsV0FBVzs7Ozs7OztBQUFYLGNBQVcsR0FHWCxTQUhBLFdBQVcsR0FHVDswQkFIRixXQUFXOztTQUN2QixPQUFPLEdBQUcsRUFBRTs7QUFHWCxRQUFJLENBQUMsT0FBTyxHQUFHLE1BQU0sQ0FBQyxRQUFRLENBQUMsTUFBTSxHQUFHLE1BQU0sQ0FBQyxRQUFRLENBQUMsUUFBUSxDQUFDO0lBQ2pFIiwiZmlsZSI6ImNvbXBvbmVudHMvYm9va21hcmtsZXQuanMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgQm9va21hcmtsZXR7XHJcblx0YXBwUGF0aCA9ICcnO1xyXG4gXHJcbiBcdGNvbnN0cnVjdG9yKCl7XHJcblx0XHR0aGlzLmFwcFBhdGggPSB3aW5kb3cubG9jYXRpb24ub3JpZ2luICsgd2luZG93LmxvY2F0aW9uLnBhdGhuYW1lO1xyXG5cdH1cclxufSJdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ== diff --git a/client/dist/snapshots-list.html b/client/dist/components/snapshots-list.html similarity index 71% rename from client/dist/snapshots-list.html rename to client/dist/components/snapshots-list.html index 207ce3f..4c485b8 100644 --- a/client/dist/snapshots-list.html +++ b/client/dist/components/snapshots-list.html @@ -1,5 +1,6 @@