From 25a7ed9648d5d77d3571c2ea2ecca421542f5b66 Mon Sep 17 00:00:00 2001 From: a-Sansara Date: Sun, 13 Dec 2015 04:20:16 +0100 Subject: [PATCH] update doc + minify js + update version to 0.4 --- README.md | 10 ++++++++++ demo.html | 8 ++++---- src/bt-min.js | 6 ++++++ src/bt.js | 45 +++++++++++++++++++++++++++++++++++++-------- 4 files changed, 57 insertions(+), 12 deletions(-) create mode 100644 src/bt-min.js diff --git a/README.md b/README.md index 344b93f..369cf60 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,16 @@ manage communication between browser tabs $bt.send({ name : $bt.CMD_CUSTOM, customKey : 'customValue' }); +### Bonus + + // alias localStorage : clear|rem|get|set + $l; + // alias json : str|obj + $j + // minimal vanilla jquery style : ready|on|html|append|attr|val|foreach + $v + + ### Demo on chromium/chrome browser make sure to test on a web server (not directly file://) diff --git a/demo.html b/demo.html index 1225686..35d95f8 100644 --- a/demo.html +++ b/demo.html @@ -1,7 +1,7 @@ - pluie.org bt demo + pluie.org bt demo - v0.4

pluie.org bt demo :

-author : a-sansara +author : a-sansara - version : 0.4

this js lib can perform several actions on browser tabs. @@ -41,7 +41,7 @@ enter txt or html :

Target output

- +