vendor/assets/javascripts/fancytree/jquery.fancytree.awesome.js in fancytree-rails-0.0.2 vs vendor/assets/javascripts/fancytree/jquery.fancytree.awesome.js in fancytree-rails-2.0.0.pre.6.pre.1
- old
+ new
@@ -2,11 +2,11 @@
* jquery.fancytree.awesome.js
*
* Use glyph fonts as instead of icon sprites.
* (Extension module for jquery.fancytree.js: https://github.com/mar10/fancytree/)
*
- * Copyright (c) 2013, Martin Wendt (http://wwWendt.de)
+ * Copyright (c) 2014, Martin Wendt (http://wwWendt.de)
*
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version DEVELOPMENT
@@ -23,10 +23,12 @@
function _getIcon(opts, type){
return opts.map[type];
}
-$.ui.fancytree.registerExtension("awesome", {
+$.ui.fancytree.registerExtension({
+ name: "awesome",
+ version: "0.0.1",
// Default options for this extension.
options: {
prefix: "icon-",
extra: null,
map: {