Skip to content

Commit

Permalink
Bumping version to 2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mar10 committed Feb 8, 2015
1 parent e8f6706 commit 015a05a
Show file tree
Hide file tree
Showing 25 changed files with 558 additions and 357 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.7.1-0",
"version": "2.8.0",
"main": [
"dist/jquery.fancytree-all.min.js"
],
Expand Down
6 changes: 3 additions & 3 deletions demo/sample-ext-menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
<h1>Example: 'menu' extension</h1>
<div class="description">
<p>
<b>Note: The <code>ext-menu</code> extension is deprecated and no
<b>Note: The <code>ext-menu</code> extension is deprecated and no
longer supported!</b>
</p><p>
We feel that a context menu is typically used for multiple elements
We feel that a context menu is typically used for multiple elements
on a web application and should not be tied to Fancytree only.
</p><p>
Use existing context menus instead, for example
<ul>
<li>jquery-ui-contextmenu
<li>jquery-ui-contextmenu
(RECOMMENDED, see <a href="index.html#sample-3rd-ui-contextmenu.html" target="_top">Fancytree demo</a>
and <a href="https://github.com/mar10/jquery-ui-contextmenu" target="_blank" class="external">project site</a>.)
<li>DEPRECATED <code>ext-menu</code> <a href="sample-ext-menu-deprecated.html">demo</a>.
Expand Down
12 changes: 6 additions & 6 deletions demo/sample-multi-ext.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>Multiple Extensions - Fancytree</title>

<link href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css" type="text/css" rel="stylesheet">
<link href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css" type="text/css" rel="stylesheet">
<script src="//code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script>
<script src="//code.jquery.com/ui/1.11.2/jquery-ui.min.js" type="text/javascript"></script>

Expand Down Expand Up @@ -113,7 +113,7 @@

// (Index #0 is rendered by fancytree by adding the checkbox)
$tdList.eq(1).text(node.getIndexHier()).addClass("alignRight");
// Index #2 is rendered by fancytree, but we make the title cell
// Index #2 is rendered by fancytree, but we make the title cell
// span the remaining columns if it is a folder:
if( node.isFolder() ) {
$tdList.eq(2)
Expand All @@ -138,28 +138,28 @@
switch( data.cmd ) {
case "moveUp":
refNode = node.getPrevSibling();
if( refNode ) {
if( refNode ) {
node.moveTo(refNode, "before");
node.setActive();
}
break;
case "moveDown":
refNode = node.getNextSibling();
if( refNode ) {
if( refNode ) {
node.moveTo(refNode, "after");
node.setActive();
}
break;
case "indent":
refNode = node.getPrevSibling();
if( refNode ) {
if( refNode ) {
node.moveTo(refNode, "child");
refNode.setExpanded();
node.setActive();
}
break;
case "outdent":
if( !node.isTopLevel() ) {
if( !node.isTopLevel() ) {
node.moveTo(node.getParent(), "after");
node.setActive();
}
Expand Down
Loading

0 comments on commit 015a05a

Please sign in to comment.