c6c1fbfe54
commit 5cce0dbf60781b759f998a01546a759cbdea6bb7 Author: Nils Norman Haukås <nils@thunki.com> Date: Sat Jun 25 12:50:15 2016 +0200 Add comment commit b4e241f9845ff4e5ce3a1f4d295bab714f061ce7 Author: Nils Norman Haukås <nils@thunki.com> Date: Sat Jun 25 12:48:30 2016 +0200 Update how menu is loaded when distributed as a plugin. Seems to load properly now. commit ca28432c4717ebc035c754cca7b5fc691ee269d6 Author: Nils Norman Haukås <nils@thunki.com> Date: Sat Jun 25 12:46:28 2016 +0200 remove uneeded deps from typings commit 3ec733feaf82930d96b2d19d1cd40a95e0c0aab7 Author: Nils Norman Haukås <nils@thunki.com> Date: Sat Jun 25 11:40:02 2016 +0200 removed gulp dependencies commit 5a21e118a59c184f52c971fa2a9f023676372867 Author: Nils Norman Haukås <nils@thunki.com> Date: Wed Jun 22 23:15:36 2016 +0200 added clean and build scripts to package.json which builds a dist folder commit e755176a13005fc907617148c418dec793bc4c4a Author: Nils Norman Haukås <nils@thunki.com> Date: Wed Jun 22 21:13:51 2016 +0200 Added 'npm run server', which will fire up a test page that runs the existing plugin code. commit 4fccd07c2ed9308c42d97f47837464a180e40f8d Author: Nils Norman Haukås <nils@thunki.com> Date: Wed Jun 22 20:08:14 2016 +0200 delete files that are no longer needed. Add comments to explain styling setup. commit 227163df0834eb9b2d57270f2460263837a14212 Author: Nils Norman Haukås <nils@thunki.com> Date: Wed Jun 15 00:34:37 2016 +0200 got test setup up and running. Fixed uuid and rangy import statements. commit 41b73d35f6e8b12ab04fb04f312e524443689554 Author: Nils Norman Haukås <nils@thunki.com> Date: Wed Jun 8 23:03:32 2016 +0200 kinda working. Still working on starting the application in test mode. commit cd929b0acd71c486dd7a0ca0b18723f98faa401f Author: Nils Norman Haukås <nils@thunki.com> Date: Sun May 29 22:44:45 2016 +0200 added pageRebuilder for preparin the page when app is used as a chrome plugin. Still not quite working yet. commit 722759ae5f5c93fea08570ad14155d741e8f8b63 Author: Nils Norman Haukås <nils@thunki.com> Date: Sun May 22 01:23:52 2016 +0200 Managed to add a basic jspm setup. commit 7b99c2ed8647f54b8d77d69d37d5f6d05b7f63cc Author: Nils Norman Haukås <nils@thunki.com> Date: Sat May 21 13:13:10 2016 +0200 Lots of rearranging code. Split up gulpfile for clarity. Updated typescript and gulp dependencies.
313 lines
11 KiB
JavaScript
313 lines
11 KiB
JavaScript
System.config({
|
|
baseURL: "/",
|
|
defaultJSExtensions: true,
|
|
transpiler: "typescript",
|
|
paths: {
|
|
"github:*": "jspm_packages/github/*",
|
|
"npm:*": "jspm_packages/npm/*"
|
|
},
|
|
|
|
packages: {
|
|
'src': {
|
|
defaultExtension: 'ts'
|
|
}
|
|
},
|
|
|
|
map: {
|
|
"angular": "github:angular/bower-angular@1.5.5",
|
|
"jquery": "npm:jquery@2.2.4",
|
|
"lodash": "npm:lodash@4.12.0",
|
|
"ngstorage": "npm:ngstorage@0.3.10",
|
|
"rangy": "npm:rangy@1.3.0",
|
|
"rangy-serializer": "npm:rangy@1.3.0/lib/rangy-serializer.js",
|
|
"rangy-selectionsaverestore": "npm:rangy@1.3.0/lib/rangy-selectionsaverestore.js",
|
|
"typescript": "npm:typescript@1.8.10",
|
|
"node-uuid": "npm:uuid@2.0.2",
|
|
"uuid": "npm:uuid@2.0.2",
|
|
"github:jspm/nodelibs-assert@0.1.0": {
|
|
"assert": "npm:assert@1.4.0"
|
|
},
|
|
"github:jspm/nodelibs-buffer@0.1.0": {
|
|
"buffer": "npm:buffer@3.6.0"
|
|
},
|
|
"github:jspm/nodelibs-constants@0.1.0": {
|
|
"constants-browserify": "npm:constants-browserify@0.0.1"
|
|
},
|
|
"github:jspm/nodelibs-crypto@0.1.0": {
|
|
"crypto-browserify": "npm:crypto-browserify@3.11.0"
|
|
},
|
|
"github:jspm/nodelibs-events@0.1.1": {
|
|
"events": "npm:events@1.0.2"
|
|
},
|
|
"github:jspm/nodelibs-os@0.1.0": {
|
|
"os-browserify": "npm:os-browserify@0.1.2"
|
|
},
|
|
"github:jspm/nodelibs-path@0.1.0": {
|
|
"path-browserify": "npm:path-browserify@0.0.0"
|
|
},
|
|
"github:jspm/nodelibs-process@0.1.2": {
|
|
"process": "npm:process@0.11.3"
|
|
},
|
|
"github:jspm/nodelibs-stream@0.1.0": {
|
|
"stream-browserify": "npm:stream-browserify@1.0.0"
|
|
},
|
|
"github:jspm/nodelibs-string_decoder@0.1.0": {
|
|
"string_decoder": "npm:string_decoder@0.10.31"
|
|
},
|
|
"github:jspm/nodelibs-util@0.1.0": {
|
|
"util": "npm:util@0.10.3"
|
|
},
|
|
"github:jspm/nodelibs-vm@0.1.0": {
|
|
"vm-browserify": "npm:vm-browserify@0.0.4"
|
|
},
|
|
"npm:asn1.js@4.6.0": {
|
|
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
|
"bn.js": "npm:bn.js@4.11.3",
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
|
"inherits": "npm:inherits@2.0.1",
|
|
"minimalistic-assert": "npm:minimalistic-assert@1.0.0",
|
|
"vm": "github:jspm/nodelibs-vm@0.1.0"
|
|
},
|
|
"npm:assert@1.4.0": {
|
|
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"buffer-shims": "npm:buffer-shims@1.0.0",
|
|
"process": "github:jspm/nodelibs-process@0.1.2",
|
|
"util": "npm:util@0.10.3"
|
|
},
|
|
"npm:bn.js@4.11.3": {
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0"
|
|
},
|
|
"npm:browserify-aes@1.0.6": {
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"buffer-xor": "npm:buffer-xor@1.0.3",
|
|
"cipher-base": "npm:cipher-base@1.0.2",
|
|
"create-hash": "npm:create-hash@1.1.2",
|
|
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
|
"evp_bytestokey": "npm:evp_bytestokey@1.0.0",
|
|
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
|
"inherits": "npm:inherits@2.0.1",
|
|
"systemjs-json": "github:systemjs/plugin-json@0.1.2"
|
|
},
|
|
"npm:browserify-cipher@1.0.0": {
|
|
"browserify-aes": "npm:browserify-aes@1.0.6",
|
|
"browserify-des": "npm:browserify-des@1.0.0",
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
|
"evp_bytestokey": "npm:evp_bytestokey@1.0.0"
|
|
},
|
|
"npm:browserify-des@1.0.0": {
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"cipher-base": "npm:cipher-base@1.0.2",
|
|
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
|
"des.js": "npm:des.js@1.0.0",
|
|
"inherits": "npm:inherits@2.0.1"
|
|
},
|
|
"npm:browserify-rsa@4.0.1": {
|
|
"bn.js": "npm:bn.js@4.11.3",
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"constants": "github:jspm/nodelibs-constants@0.1.0",
|
|
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
|
"randombytes": "npm:randombytes@2.0.3"
|
|
},
|
|
"npm:browserify-sign@4.0.0": {
|
|
"bn.js": "npm:bn.js@4.11.3",
|
|
"browserify-rsa": "npm:browserify-rsa@4.0.1",
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"create-hash": "npm:create-hash@1.1.2",
|
|
"create-hmac": "npm:create-hmac@1.1.4",
|
|
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
|
"elliptic": "npm:elliptic@6.2.5",
|
|
"inherits": "npm:inherits@2.0.1",
|
|
"parse-asn1": "npm:parse-asn1@5.0.0",
|
|
"stream": "github:jspm/nodelibs-stream@0.1.0"
|
|
},
|
|
"npm:buffer-shims@1.0.0": {
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0"
|
|
},
|
|
"npm:buffer-xor@1.0.3": {
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"systemjs-json": "github:systemjs/plugin-json@0.1.2"
|
|
},
|
|
"npm:buffer@3.6.0": {
|
|
"base64-js": "npm:base64-js@0.0.8",
|
|
"child_process": "github:jspm/nodelibs-child_process@0.1.0",
|
|
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
|
"ieee754": "npm:ieee754@1.1.6",
|
|
"isarray": "npm:isarray@1.0.0",
|
|
"process": "github:jspm/nodelibs-process@0.1.2"
|
|
},
|
|
"npm:cipher-base@1.0.2": {
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"inherits": "npm:inherits@2.0.1",
|
|
"stream": "github:jspm/nodelibs-stream@0.1.0",
|
|
"string_decoder": "github:jspm/nodelibs-string_decoder@0.1.0"
|
|
},
|
|
"npm:constants-browserify@0.0.1": {
|
|
"systemjs-json": "github:systemjs/plugin-json@0.1.2"
|
|
},
|
|
"npm:core-util-is@1.0.2": {
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0"
|
|
},
|
|
"npm:create-ecdh@4.0.0": {
|
|
"bn.js": "npm:bn.js@4.11.3",
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
|
"elliptic": "npm:elliptic@6.2.5"
|
|
},
|
|
"npm:create-hash@1.1.2": {
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"cipher-base": "npm:cipher-base@1.0.2",
|
|
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
|
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
|
"inherits": "npm:inherits@2.0.1",
|
|
"ripemd160": "npm:ripemd160@1.0.1",
|
|
"sha.js": "npm:sha.js@2.4.5"
|
|
},
|
|
"npm:create-hmac@1.1.4": {
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"create-hash": "npm:create-hash@1.1.2",
|
|
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
|
"inherits": "npm:inherits@2.0.1",
|
|
"stream": "github:jspm/nodelibs-stream@0.1.0"
|
|
},
|
|
"npm:crypto-browserify@3.11.0": {
|
|
"browserify-cipher": "npm:browserify-cipher@1.0.0",
|
|
"browserify-sign": "npm:browserify-sign@4.0.0",
|
|
"create-ecdh": "npm:create-ecdh@4.0.0",
|
|
"create-hash": "npm:create-hash@1.1.2",
|
|
"create-hmac": "npm:create-hmac@1.1.4",
|
|
"diffie-hellman": "npm:diffie-hellman@5.0.2",
|
|
"inherits": "npm:inherits@2.0.1",
|
|
"pbkdf2": "npm:pbkdf2@3.0.4",
|
|
"public-encrypt": "npm:public-encrypt@4.0.0",
|
|
"randombytes": "npm:randombytes@2.0.3"
|
|
},
|
|
"npm:des.js@1.0.0": {
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"inherits": "npm:inherits@2.0.1",
|
|
"minimalistic-assert": "npm:minimalistic-assert@1.0.0"
|
|
},
|
|
"npm:diffie-hellman@5.0.2": {
|
|
"bn.js": "npm:bn.js@4.11.3",
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
|
"miller-rabin": "npm:miller-rabin@4.0.0",
|
|
"randombytes": "npm:randombytes@2.0.3",
|
|
"systemjs-json": "github:systemjs/plugin-json@0.1.2"
|
|
},
|
|
"npm:elliptic@6.2.5": {
|
|
"bn.js": "npm:bn.js@4.11.3",
|
|
"brorand": "npm:brorand@1.0.5",
|
|
"hash.js": "npm:hash.js@1.0.3",
|
|
"inherits": "npm:inherits@2.0.1",
|
|
"systemjs-json": "github:systemjs/plugin-json@0.1.2"
|
|
},
|
|
"npm:evp_bytestokey@1.0.0": {
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"create-hash": "npm:create-hash@1.1.2",
|
|
"crypto": "github:jspm/nodelibs-crypto@0.1.0"
|
|
},
|
|
"npm:hash.js@1.0.3": {
|
|
"inherits": "npm:inherits@2.0.1"
|
|
},
|
|
"npm:inherits@2.0.1": {
|
|
"util": "github:jspm/nodelibs-util@0.1.0"
|
|
},
|
|
"npm:lodash@4.12.0": {
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"process": "github:jspm/nodelibs-process@0.1.2"
|
|
},
|
|
"npm:miller-rabin@4.0.0": {
|
|
"bn.js": "npm:bn.js@4.11.3",
|
|
"brorand": "npm:brorand@1.0.5"
|
|
},
|
|
"npm:os-browserify@0.1.2": {
|
|
"os": "github:jspm/nodelibs-os@0.1.0"
|
|
},
|
|
"npm:parse-asn1@5.0.0": {
|
|
"asn1.js": "npm:asn1.js@4.6.0",
|
|
"browserify-aes": "npm:browserify-aes@1.0.6",
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"create-hash": "npm:create-hash@1.1.2",
|
|
"evp_bytestokey": "npm:evp_bytestokey@1.0.0",
|
|
"pbkdf2": "npm:pbkdf2@3.0.4",
|
|
"systemjs-json": "github:systemjs/plugin-json@0.1.2"
|
|
},
|
|
"npm:path-browserify@0.0.0": {
|
|
"process": "github:jspm/nodelibs-process@0.1.2"
|
|
},
|
|
"npm:pbkdf2@3.0.4": {
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"child_process": "github:jspm/nodelibs-child_process@0.1.0",
|
|
"create-hmac": "npm:create-hmac@1.1.4",
|
|
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
|
"path": "github:jspm/nodelibs-path@0.1.0",
|
|
"process": "github:jspm/nodelibs-process@0.1.2",
|
|
"systemjs-json": "github:systemjs/plugin-json@0.1.2"
|
|
},
|
|
"npm:process@0.11.3": {
|
|
"assert": "github:jspm/nodelibs-assert@0.1.0"
|
|
},
|
|
"npm:public-encrypt@4.0.0": {
|
|
"bn.js": "npm:bn.js@4.11.3",
|
|
"browserify-rsa": "npm:browserify-rsa@4.0.1",
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"create-hash": "npm:create-hash@1.1.2",
|
|
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
|
"parse-asn1": "npm:parse-asn1@5.0.0",
|
|
"randombytes": "npm:randombytes@2.0.3"
|
|
},
|
|
"npm:randombytes@2.0.3": {
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
|
"process": "github:jspm/nodelibs-process@0.1.2"
|
|
},
|
|
"npm:readable-stream@1.1.14": {
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"core-util-is": "npm:core-util-is@1.0.2",
|
|
"events": "github:jspm/nodelibs-events@0.1.1",
|
|
"inherits": "npm:inherits@2.0.1",
|
|
"isarray": "npm:isarray@0.0.1",
|
|
"process": "github:jspm/nodelibs-process@0.1.2",
|
|
"stream-browserify": "npm:stream-browserify@1.0.0",
|
|
"string_decoder": "npm:string_decoder@0.10.31"
|
|
},
|
|
"npm:ripemd160@1.0.1": {
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"process": "github:jspm/nodelibs-process@0.1.2"
|
|
},
|
|
"npm:sha.js@2.4.5": {
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
|
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
|
"inherits": "npm:inherits@2.0.1",
|
|
"process": "github:jspm/nodelibs-process@0.1.2"
|
|
},
|
|
"npm:stream-browserify@1.0.0": {
|
|
"events": "github:jspm/nodelibs-events@0.1.1",
|
|
"inherits": "npm:inherits@2.0.1",
|
|
"readable-stream": "npm:readable-stream@1.1.14"
|
|
},
|
|
"npm:string_decoder@0.10.31": {
|
|
"buffer": "github:jspm/nodelibs-buffer@0.1.0"
|
|
},
|
|
"npm:typescript@1.8.10": {
|
|
"os": "github:jspm/nodelibs-os@0.1.0"
|
|
},
|
|
"npm:util@0.10.3": {
|
|
"inherits": "npm:inherits@2.0.1",
|
|
"process": "github:jspm/nodelibs-process@0.1.2"
|
|
},
|
|
"npm:uuid@2.0.2": {
|
|
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
|
"child_process": "github:jspm/nodelibs-child_process@0.1.0",
|
|
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
|
"os": "github:jspm/nodelibs-os@0.1.0",
|
|
"util": "github:jspm/nodelibs-util@0.1.0"
|
|
},
|
|
"npm:vm-browserify@0.0.4": {
|
|
"indexof": "npm:indexof@0.0.1"
|
|
}
|
|
}
|
|
});
|