Last active
August 29, 2015 14:08
-
-
Save AdrianRossouw/5a68be6263638b9cbc53 to your computer and use it in GitHub Desktop.
diff between waldo and firefox extensions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ur waldo-cfx/.git/config wf-cfx/.git/config | |
--- waldo-cfx/.git/config 2014-10-31 16:48:22.000000000 +0200 | |
+++ wf-cfx/.git/config 2014-10-31 16:48:31.000000000 +0200 | |
@@ -6,7 +6,7 @@ | |
ignorecase = true | |
precomposeunicode = true | |
[remote "origin"] | |
- url = [email protected]:wayfin/waldo-cfx.git | |
+ url = [email protected]:wayfin/wf-cfx.git | |
fetch = +refs/heads/*:refs/remotes/origin/* | |
[branch "master"] | |
remote = origin | |
Binary files waldo-cfx/.git/index and wf-cfx/.git/index differ | |
diff -ur waldo-cfx/.git/logs/HEAD wf-cfx/.git/logs/HEAD | |
--- waldo-cfx/.git/logs/HEAD 2014-10-31 16:48:22.000000000 +0200 | |
+++ wf-cfx/.git/logs/HEAD 2014-10-31 16:48:31.000000000 +0200 | |
@@ -1 +1 @@ | |
-0000000000000000000000000000000000000000 bedbaf468c0b8ef63b2b55a885dbd6a3299cfafe Adrian Rossouw <[email protected]> 1414766902 +0200 clone: from [email protected]:wayfin/waldo-cfx.git | |
+0000000000000000000000000000000000000000 01bd717df7626b49f49041ad70ae268be200c520 Adrian Rossouw <[email protected]> 1414766911 +0200 clone: from [email protected]:wayfin/wf-cfx.git | |
diff -ur waldo-cfx/.git/logs/refs/heads/master wf-cfx/.git/logs/refs/heads/master | |
--- waldo-cfx/.git/logs/refs/heads/master 2014-10-31 16:48:22.000000000 +0200 | |
+++ wf-cfx/.git/logs/refs/heads/master 2014-10-31 16:48:31.000000000 +0200 | |
@@ -1 +1 @@ | |
-0000000000000000000000000000000000000000 bedbaf468c0b8ef63b2b55a885dbd6a3299cfafe Adrian Rossouw <[email protected]> 1414766902 +0200 clone: from [email protected]:wayfin/waldo-cfx.git | |
+0000000000000000000000000000000000000000 01bd717df7626b49f49041ad70ae268be200c520 Adrian Rossouw <[email protected]> 1414766911 +0200 clone: from [email protected]:wayfin/wf-cfx.git | |
diff -ur waldo-cfx/.git/logs/refs/remotes/origin/HEAD wf-cfx/.git/logs/refs/remotes/origin/HEAD | |
--- waldo-cfx/.git/logs/refs/remotes/origin/HEAD 2014-10-31 16:48:22.000000000 +0200 | |
+++ wf-cfx/.git/logs/refs/remotes/origin/HEAD 2014-10-31 16:48:31.000000000 +0200 | |
@@ -1 +1 @@ | |
-0000000000000000000000000000000000000000 bedbaf468c0b8ef63b2b55a885dbd6a3299cfafe Adrian Rossouw <[email protected]> 1414766902 +0200 clone: from [email protected]:wayfin/waldo-cfx.git | |
+0000000000000000000000000000000000000000 01bd717df7626b49f49041ad70ae268be200c520 Adrian Rossouw <[email protected]> 1414766911 +0200 clone: from [email protected]:wayfin/wf-cfx.git | |
Only in wf-cfx/.git/objects/pack: pack-465935d73c5cf201b013afc61f9fac1cc4c077f6.idx | |
Only in wf-cfx/.git/objects/pack: pack-465935d73c5cf201b013afc61f9fac1cc4c077f6.pack | |
Only in waldo-cfx/.git/objects/pack: pack-aad5a39a0fb3874d695feabafc617c7e0d07b61a.idx | |
Only in waldo-cfx/.git/objects/pack: pack-aad5a39a0fb3874d695feabafc617c7e0d07b61a.pack | |
diff -ur waldo-cfx/.git/packed-refs wf-cfx/.git/packed-refs | |
--- waldo-cfx/.git/packed-refs 2014-10-31 16:48:22.000000000 +0200 | |
+++ wf-cfx/.git/packed-refs 2014-10-31 16:48:31.000000000 +0200 | |
@@ -1,2 +1,2 @@ | |
# pack-refs with: peeled fully-peeled | |
-bedbaf468c0b8ef63b2b55a885dbd6a3299cfafe refs/remotes/origin/master | |
+01bd717df7626b49f49041ad70ae268be200c520 refs/remotes/origin/master | |
diff -ur waldo-cfx/.git/refs/heads/master wf-cfx/.git/refs/heads/master | |
--- waldo-cfx/.git/refs/heads/master 2014-10-31 16:48:22.000000000 +0200 | |
+++ wf-cfx/.git/refs/heads/master 2014-10-31 16:48:31.000000000 +0200 | |
@@ -1 +1 @@ | |
-bedbaf468c0b8ef63b2b55a885dbd6a3299cfafe | |
+01bd717df7626b49f49041ad70ae268be200c520 | |
diff -ur waldo-cfx/.gitignore wf-cfx/.gitignore | |
--- waldo-cfx/.gitignore 2014-10-31 16:48:22.000000000 +0200 | |
+++ wf-cfx/.gitignore 2014-10-31 16:48:31.000000000 +0200 | |
@@ -1,2 +1,9 @@ | |
-.*.un~ | |
-.*.sw* | |
+.DS_Store | |
+*.sw* | |
+*.un~ | |
+*.xpi | |
+build | |
+dist | |
+tmp | |
+node_modules | |
+ | |
diff -ur waldo-cfx/README.md wf-cfx/README.md | |
--- waldo-cfx/README.md 2014-10-31 16:48:22.000000000 +0200 | |
+++ wf-cfx/README.md 2014-10-31 16:48:31.000000000 +0200 | |
@@ -1,6 +1,6 @@ | |
-# waldo.cfx | |
+# wf-cfx | |
-Make sure you have the latest version of Firefox | |
+### Test | |
``` | |
brew update | |
@@ -8,4 +8,8 @@ | |
cfx run | |
``` | |
-https://addons.mozilla.org/en-US/firefox/addon/waldo/ | |
+### Build production | |
+ | |
+``` | |
+cfx xpi | |
+``` | |
Only in wf-cfx/data: 128.png | |
Binary files waldo-cfx/data/16.png and wf-cfx/data/16.png differ | |
Only in wf-cfx/data: 19.png | |
Only in wf-cfx/data: 38.png | |
Only in wf-cfx/data: 48.png | |
Only in wf-cfx/data: app.html | |
Only in wf-cfx/data: app.js | |
Only in waldo-cfx/data: spinner.gif | |
Only in waldo-cfx/data: waldo.html | |
Only in waldo-cfx/data: waldo.js | |
diff -ur waldo-cfx/lib/main.js wf-cfx/lib/main.js | |
--- waldo-cfx/lib/main.js 2014-10-31 16:48:22.000000000 +0200 | |
+++ wf-cfx/lib/main.js 2014-10-31 16:48:31.000000000 +0200 | |
@@ -5,44 +5,48 @@ | |
// Create a button | |
var button = ActionButton({ | |
- id: 'show-waldo', | |
- label: 'Waldo', | |
+ id: 'show-wayfinder', | |
+ label: 'Wayfinder', | |
icon: { | |
- '16': './16.png' | |
+ '16': './16.png', | |
+ '19': './19.png', | |
+ '38': './38.png', | |
+ '48': './48.png', | |
+ '128': './128.png' | |
}, | |
onClick: handleClick | |
}); | |
-var waldo = Panel({ | |
- contentURL: data.url('waldo.html'), | |
- contentScriptFile: data.url('waldo.js'), | |
+var app = Panel({ | |
+ contentURL: data.url('app.html'), | |
+ contentScriptFile: data.url('app.js'), | |
onHide: handleHide, | |
width: 400, | |
- height: 300 | |
+ height: 500 | |
}); | |
// Show the panel when the user clicks the button. | |
function handleClick(state) { | |
- waldo.show({ | |
+ app.show({ | |
position: button | |
}); | |
} | |
function handleHide() { | |
- waldo.port.emit('close', true); | |
+ app.port.emit('close', true); | |
} | |
// When the panel is displayed it generated an event called | |
// "show": we will listen for that event and when it happens, | |
// send our own "show" event to the panel's script, so the | |
// script can prepare the panel for display. | |
-waldo.on('show', function() { | |
- waldo.port.emit('show', { | |
+app.on('show', function() { | |
+ app.port.emit('show', { | |
url: tabs.activeTab.url, | |
title: tabs.activeTab.title | |
}); | |
}); | |
-waldo.port.on('close', function() { | |
- waldo.hide(); | |
+app.port.on('close', function() { | |
+ app.hide(); | |
}); | |
diff -ur waldo-cfx/package.json wf-cfx/package.json | |
--- waldo-cfx/package.json 2014-10-31 16:48:22.000000000 +0200 | |
+++ wf-cfx/package.json 2014-10-31 16:48:31.000000000 +0200 | |
@@ -1,8 +1,9 @@ | |
{ | |
- "name": "waldo-cfx", | |
- "title": "Waldo", | |
- "id": "jid1-5BHz6Q31GoduaA", | |
- "description": "Waldo Quick Post", | |
+ "name": "wf-cfx", | |
+ "title": "Wayfinder", | |
+ "id": "jid1-EyzGgpmsNGAV3w", | |
+ "description": "Wayfinder lets you join web-pages together", | |
"author": "theQuazz", | |
+ "license": "MPL 2.0", | |
"version": "0.3" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment