From caf86e94b5c310267bdc28ce47fec2fd99079325 Mon Sep 17 00:00:00 2001 From: Mihai Cirlanaru Date: Sun, 16 Mar 2014 20:25:57 +0000 Subject: [PATCH 1/3] Remove folder path for local development script --- bookmarklet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookmarklet.js b/bookmarklet.js index 1c9aa3a..7a47528 100644 --- a/bookmarklet.js +++ b/bookmarklet.js @@ -11,7 +11,7 @@ if(s.idx != -1){ s.ampIdx = s.s.indexOf('&', s.idx); s.host = s.s.substring(s.idx + 7, s.ampIdx == -1 ? s.s.length : s.ampIdx); - s.src = 'http://' + (s.host ? s.host : 'localhost') + ':4000/bm/squirt.js'; + s.src = 'http://' + (s.host ? s.host : 'localhost') + ':4000/squirt.js'; } document.body.appendChild(s); } From 51f9a9e1607527d824d02c2979cf8a4ee25d4301 Mon Sep 17 00:00:00 2001 From: Mihai Cirlanaru Date: Sun, 16 Mar 2014 20:19:16 +0000 Subject: [PATCH 2/3] Extend README with details about contributing --- CONTRIBUTORS | 3 ++- README.md | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index f7d8029..8d2d9dc 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1,4 +1,5 @@ @cameron @plentz @nslater -@clarkf \ No newline at end of file +@clarkf +@mihai diff --git a/README.md b/README.md index 69a199a..51d2339 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,23 @@ A speed reading bookmarklet. - gorgeous - no external API dependencies +## Contributing + +If you want to contribute to this project, follow the below steps to set up +Squirt for local development: + +* fork this repository +* clone your fork locally +``` +git clone https://github.com//squirt +``` +* start a http server in the repo's folder, for example: +``` +python -m SimpleHTTPServer 4000 +``` +* navigate to the website you want to test Squirt on and append `?sq-dev` to the + URL, which will instruct the bookmarklet to use your local files +* open the bookmarklet from the bookmarks bar ## Sister Projects From 8992b0792f872c135f4792355add607e20b277fc Mon Sep 17 00:00:00 2001 From: Mihai Cirlanaru Date: Sun, 16 Mar 2014 20:42:31 +0000 Subject: [PATCH 3/3] Update CONTRIBUTORS with links to github profiles --- CONTRIBUTORS | 5 ----- CONTRIBUTORS.md | 7 +++++++ 2 files changed, 7 insertions(+), 5 deletions(-) delete mode 100644 CONTRIBUTORS create mode 100644 CONTRIBUTORS.md diff --git a/CONTRIBUTORS b/CONTRIBUTORS deleted file mode 100644 index 8d2d9dc..0000000 --- a/CONTRIBUTORS +++ /dev/null @@ -1,5 +0,0 @@ -@cameron -@plentz -@nslater -@clarkf -@mihai diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md new file mode 100644 index 0000000..2314c24 --- /dev/null +++ b/CONTRIBUTORS.md @@ -0,0 +1,7 @@ +Project contributors: + +* [@cameron](https://github.com/cameron) +* [@plentz](https://github.com/plentz) +* [@nslater](https://github.com/nslater) +* [@clarkf](https://github.com/clarkf) +* [@mihai](https://github.com/mihai)