Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* upgrading to latest version * minifying and compressing css files * added class-based initializer to ease usage git-svn-id: http://svn.foswiki.org/trunk/JSTreeContrib@16810 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
- Loading branch information
MichaelDaum
authored and
MichaelDaum
committed
Jun 25, 2013
1 parent
90063d5
commit 8897188
Showing
13 changed files
with
4,934 additions
and
3,785 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FOSWIKI_ROOT?=~/foswiki/trunk/core | ||
TARGET=jquery.jstree.js | ||
SUBDIRS=themes | ||
|
||
-include $(FOSWIKI_ROOT)/pub/System/JQueryPlugin/Makefile.include | ||
|
||
clean: | ||
rm $(TARGET) *.gz |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
jQuery(function($) { | ||
var defaults = { | ||
themes: { | ||
"theme":"classic", | ||
"icons": false | ||
}, | ||
ui: { | ||
"select_multiple_modifier":"off" | ||
}, | ||
core: { | ||
"animation":100 | ||
} | ||
}; | ||
|
||
$(".jsTree").livequery(function() { | ||
var $this = $(this), | ||
opts = $.extend({}, defaults, $this.data()); | ||
|
||
$this.addClass("jsTreeInited").jstree(opts); | ||
}); | ||
}); |
Oops, something went wrong.