diff options
| author | Christian Fowler <spider@viovio.com> | 2010-05-31 14:36:33 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2010-05-31 14:36:33 +0000 |
| commit | a26961ef32b9d420e01d0afffdc9fa9289ef7def (patch) | |
| tree | 63c9e5cde823500a87cd48a96d3ba164904d6342 | |
| parent | a17e1877bd711369733f632e53f11a416125f630 (diff) | |
| download | util-CVS_HEAD.tar.gz util-CVS_HEAD.tar.bz2 util-CVS_HEAD.zip | |
add simple evalJSONCVS_HEAD
| -rw-r--r-- | javascript/bitweaver.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/javascript/bitweaver.js b/javascript/bitweaver.js index ba56d5d..9aae0af 100644 --- a/javascript/bitweaver.js +++ b/javascript/bitweaver.js @@ -1,4 +1,4 @@ -// $Header: /cvsroot/bitweaver/_bit_util/javascript/bitweaver.js,v 1.57 2010/03/14 15:02:38 wjames5 Exp $ +// $Header: /cvsroot/bitweaver/_bit_util/javascript/bitweaver.js,v 1.58 2010/05/31 14:36:33 spiderr Exp $ // please modify this file and leave plenty of comments. This file will be // compressed automatically. Please make sure you only use comments beginning @@ -1117,6 +1117,10 @@ BitBase = { return this; }, + "evalJSON": function ( j ) { + return eval("(" + j + ")"); + }, + /** * Extremely lightweight fixIEDropMenu function to support css drop menus for all browsers without need for 30K of fixes/ie7.js **/ |
