godoc/static: update jquery.treeview to 1.4.2
This has the primary benefit of clarifying the license as MIT. Images have been "losslessly compressed" upstream; see https://github.com/jzaefferer/jquery-treeview/commit/ca711d9. Retrieved from https://github.com/jzaefferer/jquery-treeview/releases/tag/1.4.2. Change-Id: Ia111cbdf246d9adafa3d1c8cfbd7f0c5763cc935 Reviewed-on: https://go-review.googlesource.com/c/tools/+/223077 Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Before Width: | Height: | Size: 837 B After Width: | Height: | Size: 58 B |
Before Width: | Height: | Size: 841 B After Width: | Height: | Size: 61 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1010 B |
Before Width: | Height: | Size: 402 B After Width: | Height: | Size: 381 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 848 B |
Before Width: | Height: | Size: 400 B After Width: | Height: | Size: 387 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1010 B |
Before Width: | Height: | Size: 411 B After Width: | Height: | Size: 394 B |
@ -1,4 +1,4 @@
|
||||
/* https://github.com/jzaefferer/jquery-treeview/blob/master/jquery.treeview.css */
|
||||
/* https://github.com/jzaefferer/jquery-treeview/blob/1.4.2/jquery.treeview.css */
|
||||
/* License: MIT. */
|
||||
.treeview, .treeview ul {
|
||||
padding: 0;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* https://github.com/jzaefferer/jquery-treeview/blob/master/jquery.treeview.edit.js */
|
||||
/* https://github.com/jzaefferer/jquery-treeview/blob/1.4.2/jquery.treeview.edit.js */
|
||||
/* License: MIT. */
|
||||
(function($) {
|
||||
var CLASSES = $.treeview.classes;
|
||||
|
@ -1,17 +1,11 @@
|
||||
/*
|
||||
* Treeview 1.4.1 - jQuery plugin to hide and show branches of a tree
|
||||
* Treeview 1.4.2 - jQuery plugin to hide and show branches of a tree
|
||||
*
|
||||
* http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
|
||||
* http://docs.jquery.com/Plugins/Treeview
|
||||
*
|
||||
* Copyright (c) 2007 Jörn Zaefferer
|
||||
*
|
||||
* Dual licensed under the MIT and GPL licenses:
|
||||
* Copyright Jörn Zaefferer
|
||||
* Released under the MIT license:
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
* http://www.gnu.org/licenses/gpl.html
|
||||
*
|
||||
* Revision: $Id: jquery.treeview.js 5759 2008-07-01 07:50:28Z joern.zaefferer $
|
||||
*
|
||||
*/
|
||||
|
||||
;(function($) {
|
||||
@ -205,7 +199,7 @@
|
||||
break;
|
||||
case "location":
|
||||
var current = this.find("a").filter(function() {
|
||||
return this.href.toLowerCase() == location.href.toLowerCase();
|
||||
return location.href.toLowerCase().indexOf(this.href.toLowerCase()) == 0;
|
||||
});
|
||||
if ( current.length ) {
|
||||
// TODO update the open/closed classes
|
||||
|