Skip to content

Commit

Permalink
Cleaned up the directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiely committed Feb 5, 2018
1 parent edee1a2 commit d909547
Show file tree
Hide file tree
Showing 14 changed files with 1,439 additions and 171 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
node_modules
sidebar/*.js
dist
5 changes: 0 additions & 5 deletions chrome.manifest

This file was deleted.

72 changes: 0 additions & 72 deletions content/firefoxOverlay.xul

This file was deleted.

44 changes: 0 additions & 44 deletions content/options.xul

This file was deleted.

5 changes: 0 additions & 5 deletions defaults/preferences/citethis.js

This file was deleted.

12 changes: 12 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const gulp = require('gulp');
const zip = require('gulp-zip');

gulp.task('archive', () =>
gulp.src([
'sidebar/*',
'icons/*',
'manifest.json'
], { base: '.' })
.pipe(zip('extension.zip'))
.pipe(gulp.dest('dist'))
);
3 changes: 0 additions & 3 deletions locale/en-US/citethis.dtd

This file was deleted.

4 changes: 0 additions & 4 deletions locale/en-US/citethis.properties

This file was deleted.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"devDependencies": {
"gulp": "^3.9.1",
"gulp-zip": "^4.1.0",
"mocha": "^5.0.0",
"mocha-webpack": "^1.0.1",
"mock-browser": "^0.92.14",
Expand All @@ -8,5 +10,7 @@
},
"scripts": {
"test": "mocha-webpack --webpack-config webpack.config.test.js \"src/*test.js\""
},
"dependencies": {
}
}
Binary file removed skin/icon.png
Binary file not shown.
12 changes: 0 additions & 12 deletions skin/overlay.css

This file was deleted.

Binary file removed skin/toolbar-button.png
Binary file not shown.
2 changes: 1 addition & 1 deletion src/citethis.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var lastUrl = null;

function executeContentScript(tab) {
browser.tabs.executeScript({
file: 'extractFields.js'
file: '/sidebar/extractFields.js'
})
.then(() => {
console.log('executed content script');
Expand Down
Loading

0 comments on commit d909547

Please sign in to comment.