Skip to content

Commit

Permalink
Tagging the 2.0.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
mar10 committed May 1, 2014
1 parent 150f80a commit a2c2704
Show file tree
Hide file tree
Showing 19 changed files with 93 additions and 71 deletions.
44 changes: 22 additions & 22 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.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

/** Core Fancytree module.
Expand Down Expand Up @@ -3772,7 +3772,7 @@ $.extend($.ui.fancytree,
/** @lends Fancytree_Static# */
{
/** @type {string} */
version: "2.0.0-12", // Set to semver by 'grunt release'
version: "2.0.0", // Set to semver by 'grunt release'
/** @type {string} */
buildType: "production", // Set to 'production' by 'grunt build'
/** @type {int} */
Expand Down Expand Up @@ -4047,8 +4047,8 @@ $.extend($.ui.fancytree,
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

// To keep the global namespace clean, we wrap everything in a closure
Expand Down Expand Up @@ -4170,7 +4170,7 @@ $.ui.fancytree.registerExtension({
opts = ctx.options,
extOpts = ctx.options.childcounter;
// Optionally check for dependencies with other extensions
// this._requireExtension("glyph", false, false);
/* this._requireExtension("glyph", false, false); */
// Call the base implementation
this._super(ctx);
// Add a class to the tree container
Expand Down Expand Up @@ -4223,8 +4223,8 @@ $.ui.fancytree.registerExtension({
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down Expand Up @@ -4745,8 +4745,8 @@ $.ui.fancytree.registerExtension({
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down Expand Up @@ -5060,8 +5060,8 @@ $.ui.fancytree.registerExtension({
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down Expand Up @@ -5192,8 +5192,8 @@ $.ui.fancytree.registerExtension({
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down Expand Up @@ -5320,8 +5320,8 @@ $.ui.fancytree.registerExtension({
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down Expand Up @@ -5522,8 +5522,8 @@ $.ui.fancytree.registerExtension({
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down Expand Up @@ -5837,8 +5837,8 @@ $.ui.fancytree.registerExtension({
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down Expand Up @@ -6185,8 +6185,8 @@ $.ui.fancytree.registerExtension({
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.fancytree-custom.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 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.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

/** Core Fancytree module.
Expand Down Expand Up @@ -3772,7 +3772,7 @@ $.extend($.ui.fancytree,
/** @lends Fancytree_Static# */
{
/** @type {string} */
version: "2.0.0-12", // Set to semver by 'grunt release'
version: "2.0.0", // Set to semver by 'grunt release'
/** @type {string} */
buildType: "production", // Set to 'production' by 'grunt build'
/** @type {int} */
Expand Down
6 changes: 3 additions & 3 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.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

// To keep the global namespace clean, we wrap everything in a closure
Expand Down Expand Up @@ -142,7 +142,7 @@ $.ui.fancytree.registerExtension({
opts = ctx.options,
extOpts = ctx.options.childcounter;
// Optionally check for dependencies with other extensions
// this._requireExtension("glyph", false, false);
/* this._requireExtension("glyph", false, false); */
// Call the base implementation
this._super(ctx);
// Add a class to the tree container
Expand Down
26 changes: 24 additions & 2 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.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down Expand Up @@ -294,6 +294,28 @@ $.ui.fancytree._FancytreeClass.prototype.getNodesByRef = function(refKey, rootNo
};


/**
* [ext-clones] Replace a refKey with a new one.
* @param {string} oldRefKey
* @param {string} newRefKey
* @requires jquery.fancytree.clones.js
*/
$.ui.fancytree._FancytreeClass.prototype.changeRefKey = function(oldRefKey, newRefKey) {
var i, node,
keyMap = this.keyMap,
refList = this.refMap[oldRefKey] || null;

if (refList) {
for (i = 0; i < refList.length; i++) {
node = keyMap[refList[i]];
node.refKey = newRefKey;
}
delete this.refMap[oldRefKey];
this.refMap[newRefKey] = refList;
}
};


/*******************************************************************************
* Extension code
*/
Expand Down
4 changes: 2 additions & 2 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.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down
4 changes: 2 additions & 2 deletions dist/src/jquery.fancytree.debug.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.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down
4 changes: 2 additions & 2 deletions dist/src/jquery.fancytree.dnd.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.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down
4 changes: 2 additions & 2 deletions dist/src/jquery.fancytree.edit.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.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down
4 changes: 2 additions & 2 deletions dist/src/jquery.fancytree.filter.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.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down
4 changes: 2 additions & 2 deletions dist/src/jquery.fancytree.glyph.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.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down
4 changes: 2 additions & 2 deletions dist/src/jquery.fancytree.gridnav.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.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down
6 changes: 3 additions & 3 deletions dist/src/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.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

/** Core Fancytree module.
Expand Down Expand Up @@ -3772,7 +3772,7 @@ $.extend($.ui.fancytree,
/** @lends Fancytree_Static# */
{
/** @type {string} */
version: "2.0.0-12", // Set to semver by 'grunt release'
version: "2.0.0", // Set to semver by 'grunt release'
/** @type {string} */
buildType: "production", // Set to 'production' by 'grunt build'
/** @type {int} */
Expand Down
4 changes: 2 additions & 2 deletions dist/src/jquery.fancytree.menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down
4 changes: 2 additions & 2 deletions dist/src/jquery.fancytree.persist.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down
4 changes: 2 additions & 2 deletions dist/src/jquery.fancytree.table.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.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down
4 changes: 2 additions & 2 deletions dist/src/jquery.fancytree.themeroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @version 2.0.0-12
* @date 2014-04-29T19:55
* @version 2.0.0
* @date 2014-05-01T21:48
*/

;(function($, window, document, undefined) {
Expand Down
22 changes: 11 additions & 11 deletions src/jquery.fancytree.clones.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,18 +301,18 @@ $.ui.fancytree._FancytreeClass.prototype.getNodesByRef = function(refKey, rootNo
* @requires jquery.fancytree.clones.js
*/
$.ui.fancytree._FancytreeClass.prototype.changeRefKey = function(oldRefKey, newRefKey) {
var i, node,
var i, node,
keyMap = this.keyMap,
refList = this.refMap[oldRefKey] || null;

if (refList) {
for (i = 0; i < refList.length; i++) {
node = keyMap[refList[i]];
node.refKey = newRefKey;
}
delete this.refMap[oldRefKey];
this.refMap[newRefKey] = refList;
}
refList = this.refMap[oldRefKey] || null;

if (refList) {
for (i = 0; i < refList.length; i++) {
node = keyMap[refList[i]];
node.refKey = newRefKey;
}
delete this.refMap[oldRefKey];
this.refMap[newRefKey] = refList;
}
};


Expand Down

0 comments on commit a2c2704

Please sign in to comment.