Fix encoding and fix for destroy method

Fix encoding and fix for destroy method
This commit is contained in:
AdaskoTheBeAsT
2014-05-14 23:15:29 +02:00
parent 9371c65e5a
commit 38d2028acd

6
jstree/jstree.d.ts vendored
View File

@@ -1,6 +1,6 @@
// Type definitions for jsTree v3.0.0
// Type definitions for jsTree v3.0.0
// Project: http://www.jstree.com/
// Definitions by: Adam Pluci<EFBFBD>ski <https://github.com/adaskothebeast>
// Definitions by: Adam Pluciński <https://github.com/adaskothebeast>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
///<reference path="../jquery/jquery.d.ts" />
@@ -508,7 +508,7 @@ interface JSTree extends JQuery {
* @name destroy()
* @param {Boolean} keep_html if not set to `true` the container will be emptied, otherwise the current DOM elements will be kept intact
*/
destroy: (keep_html: boolean) => void;
destroy: (keep_html?: boolean) => void;
/**
* returns the jQuery extended instance container
* @name get_container()