Add version files and new GIF images for UI components

This commit is contained in:
2025-04-03 06:26:44 +07:00
commit 663c28a2ea
5219 changed files with 772528 additions and 0 deletions

View File

@ -0,0 +1,80 @@
/*jslint node:true */
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: "<json:package.json>",
// Project metadata, used by the <banner> directive.
meta: {
banner: "/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - " +
"<%= grunt.template.today('yyyy-mm-dd') %>\n" +
"<%= pkg.homepage ? '* ' + pkg.homepage + '\n' : '' %>" +
"* Copyright (c) <%= grunt.template.today('yyyy') %> <%= pkg.author.name %>;" +
" Licensed <%= _.pluck(pkg.licenses, 'type').join(', ') %> */"
},
concat: {
dist: {
src: ["<banner:meta.banner>", "<file_strip_banner:src/<%= pkg.name %>.js>"],
// src: ["src/jquery.dynatree.js"],
dest: "dist/<%= pkg.name %>-<%= pkg.version %>.js"
}
},
min: {
dist: {
src: ["<banner:meta.banner>", "<config:concat.dist.dest>"],
dest: "dist/<%= pkg.name %>.min.js"
}
},
// qunit: {
// files: ["tests/unit/**/*.html"]
// },
lint: {
// beforeconcat: ["grunt.js", "src/**/*.js", "tests/**/*.js"],
beforeconcat: ["src/jquery.dynatree.js"],
// beforeconcat: ["grunt.js"],
// beforeconcat: ["grunt.js", "src/jquery.dynatree.js", "tests/**/*.js"],
afterconcat: ["<config:concat.dist.dest>"]
},
// watch: {
// files: "<config:lint.files>",
// tasks: "lint qunit"
// },
jshint: {
options: {
// Enforcing Options:
bitwise: true,
curly: true,
// forin: true,
eqeqeq: true,
immed: true,
latedef: true,
newcap: true,
noarg: true,
// noempty: true,
nonew: true,
// plusplus: true,
regexp: true,
// strict: true,
sub: true,
undef: true,
// Relaxing Options:
eqnull: false,
laxbreak: true,
// laxcomma: true,
smarttabs: false,
// globalstrict: true,
// Environments:
// node: true, // TODO: only for grunt.js and dynatree-server.json
browser: true
},
globals: {
jQuery: true
}
},
uglify: {
}
});
// Default task.
grunt.registerTask("default", "lint:beforeconcat concat lint:afterconcat min");
};

View File

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>Dynatree</title>
</head>
<body class="example">
<h1>dynatree.js</h1>
<ul>
<li><a href="doc/samples.html">Example Browser</a>
<li><a href="doc/dynatree-doc.html">Documentation</a>
<li><a href="http://dynatree.googlecode.com">Project home</a>
</ul>
</body>
</html>

View File

@ -0,0 +1,32 @@
{
"name": "jquery.dynatree",
"title": "jQuery Dynatree Plugin",
"description": "Dynatree is a JavaScript dynamic tree view plugin for jQuery with support for persistence, keyboard, checkboxes, drag'n'drop, and lazy loading.",
"version": "1.2.4",
"homepage": "http://dynatree.googlecode.com/",
"author": {
"name": "Martin Wendt",
"url": "http://wwwendt.de/"
},
"repository": {
"type": "svn",
"url": "http://dynatree.googlecode.com/svn/trunk/"
},
"bugs": {
"url": "https://code.google.com/p/dynatree/issues/list"
},
"licenses": [
{
"type": "MIT",
"url": "https://code.google.com/p/dynatree/wiki/LicenseInfo"
},
{
"type": "GPL",
"url": "https://code.google.com/p/dynatree/wiki/LicenseInfo"
}
],
"dependencies": {
"jquery": "~1.4.2"
},
"keywords": []
}