Skip to content

Commit

Permalink
Bumping version to 2.22.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mar10 committed Apr 29, 2017
1 parent 2fefd4b commit bb3557a
Show file tree
Hide file tree
Showing 23 changed files with 122 additions and 119 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jquery.fancytree",
"description": "Fancytree is a JavaScript tree view plugin for jQuery with support for persistence, keyboard, checkboxes, drag'n'drop, and lazy loading.",
"version": "2.22.2-0",
"version": "2.22.2",
"main": [
"dist/jquery.fancytree-all.js"
],
Expand Down
83 changes: 42 additions & 41 deletions dist/jquery.fancytree-all.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.22.1
* @date 2017-04-21T05:55:46Z
* @version 2.22.2
* @date 2017-04-29T07:05:13Z
*/

/** Core Fancytree module.
Expand Down Expand Up @@ -441,8 +441,9 @@ FancytreeNode.prototype = /** @lends FancytreeNode# */{
// insert nodeList after children[pos]
this.children.splice.apply(this.children, [pos, 0].concat(nodeList));
}
if ( origFirstChild ) {
// Fast path -- don't render every child of root, just the new ones!
if ( origFirstChild && !insertBefore ) {
// #708: Fast path -- don't render every child of root, just the new ones!
// #723, #729: but only if it's appended to an existing child list
for(i=0, l=nodeList.length; i<l; i++) {
nodeList[i].render(); // New nodes were never rendered before
}
Expand Down Expand Up @@ -4689,7 +4690,7 @@ $.extend($.ui.fancytree,
/** @lends Fancytree_Static# */
{
/** @type {string} */
version: "2.22.1", // Set to semver by 'grunt release'
version: "2.22.2", // Set to semver by 'grunt release'
/** @type {string} */
buildType: "production", // Set to 'production' by 'grunt build'
/** @type {int} */
Expand Down Expand Up @@ -5168,8 +5169,8 @@ $.extend($.ui.fancytree,
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.22.1
* @date 2017-04-21T05:55:46Z
* @version 2.22.2
* @date 2017-04-29T07:05:13Z
*/

// To keep the global namespace clean, we wrap everything in a closure
Expand Down Expand Up @@ -5271,7 +5272,7 @@ $.ui.fancytree.registerExtension({
// Every extension must be registered by a unique name.
name: "childcounter",
// Version information should be compliant with [semver](http://semver.org)
version: "2.22.1",
version: "2.22.2",

// Extension specific options and their defaults.
// This options will be available as `tree.options.childcounter.hideExpanded`
Expand Down Expand Up @@ -5369,8 +5370,8 @@ $.ui.fancytree.registerExtension({
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.22.1
* @date 2017-04-21T05:55:46Z
* @version 2.22.2
* @date 2017-04-29T07:05:13Z
*/

;(function($, window, document, undefined) {
Expand Down Expand Up @@ -5702,7 +5703,7 @@ $.ui.fancytree._FancytreeClass.prototype.changeRefKey = function(oldRefKey, newR
*/
$.ui.fancytree.registerExtension({
name: "clones",
version: "2.22.1",
version: "2.22.2",
// Default options for this extension.
options: {
highlightActiveClones: true, // set 'fancytree-active-clone' on active clones and all peers
Expand Down Expand Up @@ -5835,8 +5836,8 @@ $.ui.fancytree.registerExtension({
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.22.1
* @date 2017-04-21T05:55:46Z
* @version 2.22.2
* @date 2017-04-29T07:05:13Z
*/

;(function($, window, document, undefined) {
Expand Down Expand Up @@ -6073,7 +6074,7 @@ function _initDragAndDrop(tree) {

$.ui.fancytree.registerExtension({
name: "dnd",
version: "2.22.1",
version: "2.22.2",
// Default options for this extension.
options: {
// Make tree nodes accept draggables
Expand Down Expand Up @@ -6408,8 +6409,8 @@ $.ui.fancytree.registerExtension({
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.22.1
* @date 2017-04-21T05:55:46Z
* @version 2.22.2
* @date 2017-04-29T07:05:13Z
*/


Expand Down Expand Up @@ -6662,7 +6663,7 @@ function handleDragOver(event, data) {

$.ui.fancytree.registerExtension({
name: "dnd5",
version: "2.22.1",
version: "2.22.2",
// Default options for this extension.
options: {
autoExpandMS: 1500, // Expand nodes after n milliseconds of hovering
Expand Down Expand Up @@ -6989,8 +6990,8 @@ $.ui.fancytree.registerExtension({
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.22.1
* @date 2017-04-21T05:55:46Z
* @version 2.22.2
* @date 2017-04-29T07:05:13Z
*/

;(function($, window, document, undefined) {
Expand Down Expand Up @@ -7233,7 +7234,7 @@ $.ui.fancytree._FancytreeNodeClass.prototype.isEditing = function(){
*/
$.ui.fancytree.registerExtension({
name: "edit",
version: "2.22.1",
version: "2.22.2",
// Default options for this extension.
options: {
adjustWidthOfs: 4, // null: don't adjust input size to content
Expand Down Expand Up @@ -7305,8 +7306,8 @@ $.ui.fancytree.registerExtension({
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.22.1
* @date 2017-04-21T05:55:46Z
* @version 2.22.2
* @date 2017-04-29T07:05:13Z
*/

;(function($, window, document, undefined) {
Expand Down Expand Up @@ -7569,7 +7570,7 @@ $.ui.fancytree._FancytreeNodeClass.prototype.isMatched = function(){
*/
$.ui.fancytree.registerExtension({
name: "filter",
version: "2.22.1",
version: "2.22.2",
// Default options for this extension.
options: {
autoApply: true, // Re-apply last filter if lazy data is loaded
Expand Down Expand Up @@ -7659,8 +7660,8 @@ $.ui.fancytree.registerExtension({
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.22.1
* @date 2017-04-21T05:55:46Z
* @version 2.22.2
* @date 2017-04-29T07:05:13Z
*/

;(function($, window, document, undefined) {
Expand All @@ -7677,7 +7678,7 @@ function _getIcon(opts, type){

$.ui.fancytree.registerExtension({
name: "glyph",
version: "2.22.1",
version: "2.22.2",
// Default options for this extension.
options: {
map: {
Expand Down Expand Up @@ -7803,8 +7804,8 @@ $.ui.fancytree.registerExtension({
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.22.1
* @date 2017-04-21T05:55:46Z
* @version 2.22.2
* @date 2017-04-29T07:05:13Z
*/

;(function($, window, document, undefined) {
Expand Down Expand Up @@ -7910,7 +7911,7 @@ function findNeighbourTd($target, keyCode){
*/
$.ui.fancytree.registerExtension({
name: "gridnav",
version: "2.22.1",
version: "2.22.2",
// Default options for this extension.
options: {
autofocusInput: false, // Focus first embedded input if node gets activated
Expand Down Expand Up @@ -8009,8 +8010,8 @@ $.ui.fancytree.registerExtension({
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.22.1
* @date 2017-04-21T05:55:46Z
* @version 2.22.2
* @date 2017-04-29T07:05:13Z
*/

;(function($, window, document, undefined) {
Expand Down Expand Up @@ -8149,7 +8150,7 @@ $.ui.fancytree._FancytreeClass.prototype.getPersistData = function(){
*/
$.ui.fancytree.registerExtension({
name: "persist",
version: "2.22.1",
version: "2.22.2",
// Default options for this extension.
options: {
cookieDelimiter: "~",
Expand Down Expand Up @@ -8395,8 +8396,8 @@ $.ui.fancytree.registerExtension({
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.22.1
* @date 2017-04-21T05:55:46Z
* @version 2.22.2
* @date 2017-04-29T07:05:13Z
*/

;(function($, window, document, undefined) {
Expand Down Expand Up @@ -8474,7 +8475,7 @@ function findPrevRowNode(node){

$.ui.fancytree.registerExtension({
name: "table",
version: "2.22.1",
version: "2.22.2",
// Default options for this extension.
options: {
checkboxColumnIdx: null, // render the checkboxes into the this column index (default: nodeColumnIdx)
Expand Down Expand Up @@ -8846,8 +8847,8 @@ $.ui.fancytree.registerExtension({
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.22.1
* @date 2017-04-21T05:55:46Z
* @version 2.22.2
* @date 2017-04-29T07:05:13Z
*/

;(function($, window, document, undefined) {
Expand All @@ -8859,7 +8860,7 @@ $.ui.fancytree.registerExtension({
*/
$.ui.fancytree.registerExtension({
name: "themeroller",
version: "2.22.1",
version: "2.22.2",
// Default options for this extension.
options: {
activeClass: "ui-state-active", // Class added to active node
Expand Down Expand Up @@ -8942,8 +8943,8 @@ $.ui.fancytree.registerExtension({
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.22.1
* @date 2017-04-21T05:55:46Z
* @version 2.22.2
* @date 2017-04-29T07:05:13Z
*/

;(function($, window, document, undefined) {
Expand Down Expand Up @@ -9043,7 +9044,7 @@ function renderLevelCss(containerId, depth, levelOfs, lineOfs, labelOfs, measure
*/
$.ui.fancytree.registerExtension({
name: "wide",
version: "2.22.1",
version: "2.22.2",
// Default options for this extension.
options: {
iconWidth: null, // Adjust this if @fancy-icon-width != "16px"
Expand Down
30 changes: 15 additions & 15 deletions dist/jquery.fancytree-all.min.js

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions dist/jquery.fancytree.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.22.1
* @date 2017-04-21T05:55:46Z
* @version 2.22.2
* @date 2017-04-29T07:05:13Z
*/

/** Core Fancytree module.
Expand Down Expand Up @@ -441,8 +441,9 @@ FancytreeNode.prototype = /** @lends FancytreeNode# */{
// insert nodeList after children[pos]
this.children.splice.apply(this.children, [pos, 0].concat(nodeList));
}
if ( origFirstChild ) {
// Fast path -- don't render every child of root, just the new ones!
if ( origFirstChild && !insertBefore ) {
// #708: Fast path -- don't render every child of root, just the new ones!
// #723, #729: but only if it's appended to an existing child list
for(i=0, l=nodeList.length; i<l; i++) {
nodeList[i].render(); // New nodes were never rendered before
}
Expand Down Expand Up @@ -4689,7 +4690,7 @@ $.extend($.ui.fancytree,
/** @lends Fancytree_Static# */
{
/** @type {string} */
version: "2.22.1", // Set to semver by 'grunt release'
version: "2.22.2", // Set to semver by 'grunt release'
/** @type {string} */
buildType: "production", // Set to 'production' by 'grunt build'
/** @type {int} */
Expand Down
8 changes: 4 additions & 4 deletions dist/jquery.fancytree.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/src/jquery.fancytree.childcounter.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.22.1
* @date 2017-04-21T05:55:46Z
* @version 2.22.2
* @date 2017-04-29T07:05:13Z
*/

// To keep the global namespace clean, we wrap everything in a closure
Expand Down Expand Up @@ -122,7 +122,7 @@ $.ui.fancytree.registerExtension({
// Every extension must be registered by a unique name.
name: "childcounter",
// Version information should be compliant with [semver](http://semver.org)
version: "2.22.1",
version: "2.22.2",

// Extension specific options and their defaults.
// This options will be available as `tree.options.childcounter.hideExpanded`
Expand Down
6 changes: 3 additions & 3 deletions dist/src/jquery.fancytree.clones.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.22.1
* @date 2017-04-21T05:55:46Z
* @version 2.22.2
* @date 2017-04-29T07:05:13Z
*/

;(function($, window, document, undefined) {
Expand Down Expand Up @@ -342,7 +342,7 @@ $.ui.fancytree._FancytreeClass.prototype.changeRefKey = function(oldRefKey, newR
*/
$.ui.fancytree.registerExtension({
name: "clones",
version: "2.22.1",
version: "2.22.2",
// Default options for this extension.
options: {
highlightActiveClones: true, // set 'fancytree-active-clone' on active clones and all peers
Expand Down
6 changes: 3 additions & 3 deletions dist/src/jquery.fancytree.columnview.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.22.1
* @date 2017-04-21T05:55:46Z
* @version 2.22.2
* @date 2017-04-29T07:05:13Z
*/

;(function($, window, document, undefined) {
Expand Down Expand Up @@ -41,7 +41,7 @@ function _assert(cond, msg){
*/
$.ui.fancytree.registerExtension({
name: "columnview",
version: "2.22.1",
version: "2.22.2",
// Default options for this extension.
options: {
},
Expand Down
Loading

0 comments on commit bb3557a

Please sign in to comment.