diff --git a/Gruntfile.js b/Gruntfile.js index 243c1b8..0ce4392 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -73,6 +73,7 @@ module.exports = function(grunt) { sass: { dist: { files: { + 'src/css/read-sandbox.css': 'src/sass/read-sandbox.scss', 'src/css/all.css': 'src/sass/all.scss' } } @@ -83,6 +84,7 @@ module.exports = function(grunt) { }, dist: { files: { + 'src/css/read-sandbox.css': 'src/css/read-sandbox.css', 'src/css/all.css': 'src/css/all.css' } } @@ -93,6 +95,7 @@ module.exports = function(grunt) { }, dist: { files: { + 'dist/css/read-sandbox.min.css': 'src/css/read-sandbox.css', 'dist/css/all.min.css': 'src/css/all.css' } } @@ -138,7 +141,8 @@ module.exports = function(grunt) { 'pgpmailer/src/*.js', 'pgpmailer/node_modules/smtpclient/src/*.js', 'pgpmailer/node_modules/smtpclient/node_modules/stringencoding/dist/stringencoding.js', - 'axe/axe.js' + 'axe/axe.js', + 'dompurify/purify.js' ], dest: 'src/lib/' }, diff --git a/package.json b/package.json index 534fef4..2825adc 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "pgpmailer": "https://github.com/whiteout-io/pgpmailer/tarball/v0.3.6", "pgpbuilder": "https://github.com/whiteout-io/pgpbuilder/tarball/v0.3.5", "requirejs": "2.1.14", - "axe": "https://github.com/whiteout-io/axe/tarball/v0.0.2" + "axe": "https://github.com/whiteout-io/axe/tarball/v0.0.2", + "dompurify": "~0.4.2" }, "devDependencies": { "angularjs": "https://github.com/angular/angular.js/tarball/v1.2.8", diff --git a/src/background.js b/src/background.js index 12b2382..a58a7ed 100644 --- a/src/background.js +++ b/src/background.js @@ -2,7 +2,7 @@ // open chrome app in new window chrome.app.runtime.onLaunched.addListener(function() { - chrome.app.window.create('chrome.html', { + chrome.app.window.create('index.html', { 'bounds': { 'width': 1024, 'height': 768 diff --git a/src/chrome.html b/src/index.html similarity index 100% rename from src/chrome.html rename to src/index.html diff --git a/src/ios.html b/src/ios.html deleted file mode 100644 index a14c5a4..0000000 --- a/src/ios.html +++ /dev/null @@ -1,32 +0,0 @@ - - -
- -{{(state.mailList.selected.subject) ? state.mailList.selected.subject : 'No subject'}}
+{{state.mailList.selected.subject ? state.mailList.selected.subject : 'No subject'}}
{{state.mailList.selected.sentDate | date:'EEEE, MMM d, yyyy h:mm a'}}
@@ -46,7 +46,7 @@
Invalid PGP signature. This message could have been tampered with.