Commit 4f85ad69 authored by Vivek's avatar Vivek

added handsontable spreadsheet files

parent 76d48cc0
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>handsontable</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>handsontable</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272563.23</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>.bowerrc</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>{\n
"directory": "demo/bower_components"\n
}</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>42</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>.bowerrc</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272487.24</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>.editorconfig</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string># EditorConfig helps developers define and maintain consistent\n
# coding styles between different editors and IDEs\n
# editorconfig.org\n
\n
root = true\n
\n
\n
[*]\n
\n
# Change these settings to your own preference\n
indent_style = space\n
indent_size = 2\n
\n
# We recommend you to keep these unchanged\n
end_of_line = lf\n
charset = utf-8\n
trim_trailing_whitespace = true\n
insert_final_newline = true\n
\n
[*.md]\n
trim_trailing_whitespace = false\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>415</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>.editorconfig</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272272.93</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>.gitattributes</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string># Set default behaviour, in case users don\'t have core.autocrlf set.\n
* text=crlf</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>80</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>.gitattributes</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272273.48</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>.gitignore</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>.DS_Store\n
.grunt\n
.idea\n
_SpecRunner.html\n
cars.sqlite\n
dev.html\n
\n
!dist/README.md\n
node_modules/\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>92</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>.gitignore</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272561.99</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>.jshintignore</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>node_modules\n
Gruntfile.js\n
dist/*\n
lib/*\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>39</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>.jshintignore</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272909.7</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>.jshintrc</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>{\n
"esnext": true,\n
"boss": false,\n
"browser": true,\n
"camelcase": true,\n
"curly": true,\n
"debug": false,\n
"devel": false,\n
"eqeqeq": false, // Should be true\n
"eqnull": true, // Should be false\n
"evil": false,\n
"forin": true,\n
"freeze": true,\n
"funcscope": false,\n
"immed": true,\n
"indent": 2,\n
"latedef": false,\n
"laxbreak": false,\n
"laxcomma": true, // Should be false\n
"loopfunc": false,\n
"maxdepth": 5,\n
"maxlen": 190,\n
"maxparams": 9,\n
"multistr": false,\n
"newcap": true,\n
"nonbsp": true,\n
"nonew": true,\n
"notypeof": false,\n
"predef": [],\n
"proto": false,\n
"shadow": true, // Should be false\n
"sub": false,\n
"supernew": false,\n
"undef": false,\n
"unused": false\n
}\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>704</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>.jshintrc</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272563.59</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>.travis.yml</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>language: node_js\n
\n
sudo: false\n
\n
node_js:\n
- "0.10"\n
\n
before_script:\n
- "npm update -g npm"\n
- "export DISPLAY=:99.0"\n
- "sh -e /etc/init.d/xvfb start"\n
- "npm install -g grunt-cli"\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>185</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>.travis.yml</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272894.96</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>CHANGELOG.md</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>All releases are described at https://github.com/handsontable/handsontable/releases\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>84</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>CHANGELOG.md</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272564.11</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>CNAME</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>handsontable.com\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>17</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>CNAME</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272492.73</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>CONTRIBUTING.md</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string># Contributing to Handsontable\n
\n
Your contributions to the project are very welcome. If you would like to fix a bug or propose a new feature, you can submit a Pull Request.\n
\n
To help us merge your Pull Request, please make sure you follow these points:\n
\n
1. Please make your fix on a separate branch. This makes merging much easier.\n
2. Do not edit files in `dist/` directory (e.g: `handsontable.js`, `handsontable.css`, `handsontable.full.js`, `handsontable.full.css`). Instead, try to edit files inside the `src/` directory and then use `grunt` to make a build. More information about this on wiki page [Building](https://github.com/handsontable/handsontable/wiki/Building).\n
3. **Very important:** For any change that you make, **please try to also add a test case(s)** in `tests/jasmine/spec/` or `src/3rdparty/walkontable/test/jasmine/spec/`. This helps us understand the issue and make sure that it will stay fixed forever. See [Testing](https://github.com/handsontable/handsontable/wiki/Testing)\n
4. **Very important:** Please review our [coding style](https://github.com/handsontable/handsontable/wiki/Coding-style) for instructions on how to maintain a fork and submit patches.\n
5. Describe the problem in the Pull Request description (of course you would do it, why do I mention that?)\n
\n
Thank you for your commitment!\n
\n
## Team rules\n
\n
The Handsontable team utilizes Git-Flow. See [How we use Git-Flow](https://github.com/handsontable/handsontable/wiki/How-we-use-Git-Flow)\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1475</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>CONTRIBUTING.md</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272894.31</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>LICENSE</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
(The MIT License)\n
\n
Copyright (c) 2012-2014 Marcin Warpechowski\n
Copyright (c) 2015 Handsoncode sp. z o.o. <hello@handsontable.com>\n
\n
Permission is hereby granted, free of charge, to any person obtaining\n
a copy of this software and associated documentation files (the\n
\'Software\'), to deal in the Software without restriction, including\n
without limitation the rights to use, copy, modify, merge, publish,\n
distribute, sublicense, and/or sell copies of the Software, and to\n
permit persons to whom the Software is furnished to do so, subject to\n
the following conditions:\n
\n
The above copyright notice and this permission notice shall be\n
included in all copies or substantial portions of the Software.\n
\n
THE SOFTWARE IS PROVIDED \'AS IS\', WITHOUT WARRANTY OF ANY KIND,\n
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1154</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>LICENSE</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272562.86</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>README.md</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
# Handsontable [![Build Status](https://travis-ci.org/handsontable/handsontable.png?branch=master)](https://travis-ci.org/handsontable/handsontable)\n
\n
Handsontable is a minimalist approach to Excel-like table editor (data grid) for HTML & JavaScript. \n
\n
Runs in IE 10+, Firefox, Chrome, Safari and Opera.\n
\n
See the demos at http://handsontable.com/ or fork the example on [JSFiddle](http://jsfiddle.net/js_ziggle/hU6Kz/3228/).\n
\n
## Usage\n
\n
First, include all the dependencies. All the files that you need are in the `dist\\` directory:\n
\n
```html\n
<script src="dist/handsontable.full.js"></script>\n
<link rel="stylesheet" media="screen" href="dist/handsontable.full.css">\n
```\n
\n
Then, create a new `Handsontable` object, passing a reference to an empty div as a first argument. After that, load some data if you wish:\n
\n
```html\n
<div id="hot"></div>\n
<script>\n
var data = [\n
["", "Kia", "Nissan", "Toyota", "Honda"],\n
["2008", 10, 11, 12, 13],\n
["2009", 20, 11, 14, 13],\n
["2010", 30, 15, 12, 13]\n
];\n
\n
var container = document.getElementById(\'hot\');\n
var hot = new Handsontable(container,\n
{\n
data: data,\n
minSpareRows: 1,\n
colHeaders: true,\n
contextMenu: true\n
});\n
</script>\n
```\n
\n
## API Reference\n
\n
Check out the new wiki pages: [Options](https://github.com/handsontable/handsontable/wiki/Options), [Methods](https://github.com/handsontable/handsontable/wiki/Methods) and [Events](https://github.com/handsontable/handsontable/wiki/Events)\n
\n
## Changelog\n
\n
To see the list of recent changes, see [Releases](https://github.com/handsontable/handsontable/releases).\n
\n
## Questions\n
\n
Please use the :new: [Handsontable Google Group](https://groups.google.com/forum/?fromgroups=#!forum/handsontable) for posting general **Questions**.\n
\n
Make sure the question was not answered before in [FAQ](https://github.com/handsontable/handsontable/wiki/FAQ) or [GitHub Issues](https://github.com/handsontable/handsontable/issues)\n
\n
## Reporting bugs and feature requests\n
\n
Please follow this guidelines when reporting bugs and feature requests:\n
\n
1. Use [GitHub Issues](https://github.com/handsontable/handsontable/issues) board to report bugs and feature requests (not our email address)\n
2. Please **always** write steps to reproduce the error. That way we can focus on fixing the bug, not scratching our heads trying to reproduce it.\n
3. If possible, please add a JSFiddle link that shows the problem (start by forking [this fiddle](http://jsfiddle.net/js_ziggle/hU6Kz/3228/)). It saves us much time.\n
4. If you can\'t reproduce it on JSFiddle, please add a screenshot that shows the problem. JSFiddle is much more appreciated because it lets us start fixing straight away.\n
\n
Thanks for understanding!\n
\n
## Contributing\n
\n
Please see [CONTRIBUTING.md](CONTRIBUTING.md)\n
\n
## Contact\n
\n
You can contact us at hello@handsontable.com.\n
\n
## License\n
\n
The MIT License (see the [LICENSE](https://github.com/handsontable/handsontable/blob/master/LICENSE) file for the full text)\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>2967</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>README.md</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272562.41</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>bower.json</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/json</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
{\n
"name": "handsontable",\n
"description": "Spreadsheet-like data grid editor that provides copy/paste functionality compatible with Excel/Google Docs",\n
"version": "0.17.0",\n
"main": ["./dist/handsontable.js", "./dist/handsontable.css"],\n
"homepage": "http://handsontable.com/",\n
"repository": {\n
"type": "git",\n
"url": "https://github.com/handsontable/handsontable.git"\n
},\n
"authors": [\n
"Handsoncode", "Handsoncode <hello@handsontable.com>"\n
],\n
"keywords": [\n
"data",\n
"grid",\n
"table",\n
"editor",\n
"grid-editor",\n
"data-grid",\n
"data-table",\n
"spreadsheet",\n
"excel",\n
"tabular-data",\n
"edit-cell",\n
"editable-table",\n
"data-spreadsheet"\n
],\n
"ignore": [\n
"**/.*",\n
"components",\n
"demo",\n
"node_modules",\n
"src",\n
"test"\n
],\n
"dependencies": {\n
"zeroclipboard": "^2.2.0",\n
"moment": "^2.9.0",\n
"pikaday": "^1.3.2"\n
},\n
"devDependencies": {\n
"chroma-js": "~0.5.6"\n
}\n
}\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>970</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>bower.json</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>demo</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>demo</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272294.08</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>ajax.html</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<!doctype html>\n
<html>\n
<head>\n
<meta charset=\'utf-8\'>\n
<title>Load &amp; Save (Ajax) - Handsontable</title>\n
\n
<!--\n
Loading Handsontable (full distribution that includes all dependencies apart from jQuery)\n
-->\n
<link data-jsfiddle="common" rel="stylesheet" media="screen" href="../dist/handsontable.css">\n
<link data-jsfiddle="common" rel="stylesheet" media="screen" href="../dist/pikaday/pikaday.css">\n
<script data-jsfiddle="common" src="../dist/pikaday/pikaday.js"></script>\n
<script data-jsfiddle="common" src="../dist/moment/moment.js"></script>\n
<script data-jsfiddle="common" src="../dist/zeroclipboard/ZeroClipboard.js"></script>\n
<script data-jsfiddle="common" src="../dist/handsontable.js"></script>\n
\n
<!--\n
Loading demo dependencies. They are used here only to enhance the examples on this page\n
-->\n
<link rel="stylesheet" media="screen" href="css/samples.css?20140331">\n
<script data-jsfiddle="common" src="js/samples.js"></script>\n
<script src="js/highlight/highlight.pack.js"></script>\n
<link rel="stylesheet" media="screen" href="js/highlight/styles/github.css">\n
<link rel="stylesheet" href="css/font-awesome/css/font-awesome.min.css">\n
\n
<!--\n
Facebook open graph. Don\'t copy this to your project :)\n
-->\n
<meta property="og:title" content="Load &amp; Save (Ajax)">\n
<meta property="og:description"\n
content="Use the onChange callback to track changes made in the table. In the example below, $.ajax is used to load and save grid data.">\n
<meta property="og:url" content="http://handsontable.com/demo/ajax.html">\n
<meta property="og:image" content="http://handsontable.com/demo/image/og-image.png">\n
<meta property="og:image:type" content="image/png">\n
<meta property="og:image:width" content="409">\n
<meta property="og:image:height" content="164">\n
<link rel="canonical" href="http://handsontable.com/demo/ajax.html">\n
\n
<!--\n
Google Analytics for GitHub Page. Don\'t copy this to your project :)\n
-->\n
<script src="js/ga.js"></script>\n
</head>\n
\n
<body>\n
\n
\n
<div class="wrapper">\n
<div class="wrapper-row">\n
<div id="global-menu-clone">\n
<h1><a href="../index.html">Handsontable</a></h1>\n
\n
</div>\n
\n
<div id="container">\n
<div class="columnLayout">\n
\n
<div class="rowLayout">\n
<div class="descLayout">\n
<div class="pad" data-jsfiddle="example1">\n
<h2>Load &amp; Save (Ajax)</h2>\n
\n
<p>Use the\n
<b>onChange</b> callback to track changes made in the table. In the example below, $.ajax is used to load\n
and save grid data.\n
</p>\n
\n
<p>Note: this is a mockup. Nothing is acually saved. You have to implement that part server-side.</p>\n
\n
<p>\n
<button name="load" id="load">Load</button>\n
<button name="save" id="save">Save</button>\n
<label><input type="checkbox" name="autosave" id="autosave" checked="checked" autocomplete="off"> Autosave</label>\n
</p>\n
\n
<pre id="example1console" class="console">Click "Load" to load data from server</pre>\n
\n
<div id="example1"></div>\n
\n
<p>\n
<button name="dump" data-dump="#example1" data-instance="hot" title="Prints current data source to Firebug/Chrome Dev Tools">\n
Dump data to console\n
</button>\n
</p>\n
</div>\n
</div>\n
\n
<div class="codeLayout">\n
<div class="pad">\n
<div class="jsFiddle">\n
<button class="jsFiddleLink" data-runfiddle="example1">Edit in jsFiddle</button>\n
</div>\n
<script data-jsfiddle="example1">\n
var\n
$ = function(id) {\n
return document.getElementById(id);\n
},\n
container = $(\'example1\'),\n
exampleConsole = $(\'example1console\'),\n
autosave = $(\'autosave\'),\n
load = $(\'load\'),\n
save = $(\'save\'),\n
autosaveNotification,\n
hot;\n
\n
hot = new Handsontable(container, {\n
startRows: 8,\n
startCols: 6,\n
rowHeaders: true,\n
colHeaders: true,\n
minSpareRows: 1,\n
contextMenu: true,\n
afterChange: function (change, source) {\n
if (source === \'loadData\') {\n
return; //don\'t save this change\n
}\n
if (!autosave.checked) {\n
return;\n
}\n
clearTimeout(autosaveNotification);\n
ajax(\'json/save.json\', \'GET\', JSON.stringify({data: change}), function (data) {\n
exampleConsole.innerText = \'Autosaved (\' + change.length + \' \' + \'cell\' + (change.length > 1 ? \'s\' : \'\') + \')\';\n
autosaveNotification = setTimeout(function() {\n
exampleConsole.innerText =\'Changes will be autosaved\';\n
}, 1000);\n
});\n
}\n
});\n
\n
Handsontable.Dom.addEvent(load, \'click\', function() {\n
ajax(\'json/load.json\', \'GET\', \'\', function(res) {\n
var data = JSON.parse(res.response);\n
\n
hot.loadData(data.data);\n
exampleConsole.innerText = \'Data loaded\';\n
});\n
});\n
\n
Handsontable.Dom.addEvent(save, \'click\', function() {\n
// save all cell\'s data\n
ajax(\'json/save.json\', \'GET\', JSON.stringify({data: hot.getData()}), function (res) {\n
var response = JSON.parse(res.response);\n
\n
if (response.result === \'ok\') {\n
exampleConsole.innerText = \'Data saved\';\n
}\n
else {\n
exampleConsole.innerText = \'Save error\';\n
}\n
});\n
});\n
\n
Handsontable.Dom.addEvent(autosave, \'click\', function() {\n
if (autosave.checked) {\n
exampleConsole.innerText = \'Changes will be autosaved\';\n
}\n
else {\n
exampleConsole.innerText =\'Changes will not be autosaved\';\n
}\n
});\n
</script>\n
</div>\n
</div>\n
</div>\n
\n
<div class="footer-text">\n
</div>\n
</div>\n
\n
</div>\n
\n
</div>\n
</div>\n
\n
<div id="outside-links-wrapper"></div>\n
\n
</body>\n
</html>\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>6685</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>ajax.html</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272275.36</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>align_cell.html</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<!doctype html>\n
<html>\n
<head>\n
<meta charset=\'utf-8\'>\n
<title>Align cell - Handsontable</title>\n
\n
<!--\n
Loading Handsontable (full distribution that includes all dependencies)\n
-->\n
<link data-jsfiddle="common" rel="stylesheet" media="screen" href="../dist/handsontable.css">\n
<link data-jsfiddle="common" rel="stylesheet" media="screen" href="../dist/pikaday/pikaday.css">\n
<script data-jsfiddle="common" src="../dist/pikaday/pikaday.js"></script>\n
<script data-jsfiddle="common" src="../dist/moment/moment.js"></script>\n
<script data-jsfiddle="common" src="../dist/zeroclipboard/ZeroClipboard.js"></script>\n
<script data-jsfiddle="common" src="../dist/handsontable.js"></script>\n
\n
<!--\n
Loading demo dependencies. They are used here only to enhance the examples on this page\n
-->\n
<link data-jsfiddle="common" rel="stylesheet" media="screen" href="css/samples.css">\n
<script src="js/samples.js"></script>\n
<script src="js/highlight/highlight.pack.js"></script>\n
<link rel="stylesheet" media="screen" href="js/highlight/styles/github.css">\n
<link rel="stylesheet" href="css/font-awesome/css/font-awesome.min.css">\n
\n
<!--\n
Facebook open graph. Don\'t copy this to your project :)\n
-->\n
<meta property="og:title" content="Align cells">\n
<meta property="og:description"\n
content="This example shows the usage of the align cell\'s content feature.">\n
<meta property="og:url" content="http://handsontable.com/demo/align_cell.html">\n
<meta property="og:image" content="http://handsontable.com/demo/image/og-image.png">\n
<meta property="og:image:type" content="image/png">\n
<meta property="og:image:width" content="409">\n
<meta property="og:image:height" content="164">\n
<link rel="canonical" href="http://handsontable.com/demo/align_cell.html">\n
\n
<!--\n
Google Analytics for GitHub Page. Don\'t copy this to your project :)\n
-->\n
<script src="js/ga.js"></script>\n
</head>\n
\n
<body>\n
\n
\n
<div class="wrapper">\n
<div class="wrapper-row">\n
<div id="global-menu-clone">\n
<h1><a href="../index.html">Handsontable</a></h1>\n
\n
</div>\n
\n
<div id="container">\n
<div class="columnLayout">\n
\n
<div class="rowLayout">\n
<div class="descLayout">\n
<div class="pad" data-jsfiddle="example1">\n
<h2>Horizontal & vertical alignment</h2>\n
\n
<p>To initialize Handsontable with predefined horizontal and vertical alignment, provide className cells\n
details\n
in form of a grid, <code>columns</code> or <code>cell</code> setting (see code sample below).\n
</p>\n
\n
<p>Available classNames:</p>\n
\n
<ul>\n
<li>horizontal: <code>htLeft</code>, <code>htCenter</code>, <code>htRight</code>, <code>htJustify</code>,\n
</li>\n
<li>vertical: <code>htTop</code>, <code>htMiddle</code>, <code>htBottom</code>.</li>\n
</ul>\n
\n
<p>Alignment changes can be tracked using <code>afterSetCellMeta</code> hook callback.</p>\n
\n
<div style="overflow: hidden; height: 200px; width: 400px">\n
<div id="example1"></div>\n
</div>\n
\n
<p>\n
<button name="dump" data-dump="#example1" data-instance="hot1"\n
title="Prints current data source to Firebug/Chrome Dev Tools">\n
Dump data to console\n
</button>\n
</p>\n
</div>\n
</div>\n
\n
<div class="codeLayout">\n
<div class="pad">\n
<div class="jsFiddle">\n
<button class="jsFiddleLink" data-runfiddle="example1">Edit in jsFiddle</button>\n
</div>\n
\n
<script data-jsfiddle="example1">\n
var container = document.getElementById(\'example1\'),\n
hot1;\n
\n
hot1 = new Handsontable(container, {\n
data: Handsontable.helper.createSpreadsheetData(1000, 16),\n
colWidths: [55, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47], // can also be a number or a function\n
rowHeaders: true,\n
colHeaders: true,\n
contextMenu: true,\n
mergeCells: [\n
{row: 1, col: 1, rowspan: 3, colspan: 3},\n
{row: 3, col: 4, rowspan: 2, colspan: 2}\n
],\n
className: "htCenter",\n
cell: [\n
{row: 0, col: 0, className: "htRight"},\n
{row: 1, col: 1, className: "htLeft htMiddle"},\n
{row: 3, col: 4, className: "htLeft htBottom"}\n
],\n
afterSetCellMeta: function (row, col, key, val) {\n
console.log("cell meta changed", row, col, key, val);\n
}\n
});\n
</script>\n
</div>\n
</div>\n
</div>\n
\n
<div class="footer-text">\n
</div>\n
</div>\n
\n
</div>\n
\n
</div>\n
</div>\n
\n
<div id="outside-links-wrapper"></div>\n
\n
</body>\n
</html>\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>4918</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>align_cell.html</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272451.78</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>beforeKeyDown.html</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<!doctype html>\n
<html>\n
<head>\n
<meta charset=\'utf-8\'>\n
<title>beforeKeyDown callback - Handsontable</title>\n
\n
<!--\n
Loading Handsontable (full distribution that includes all dependencies)\n
-->\n
<link data-jsfiddle="common" rel="stylesheet" media="screen" href="../dist/handsontable.css">\n
<link data-jsfiddle="common" rel="stylesheet" media="screen" href="../dist/pikaday/pikaday.css">\n
<script data-jsfiddle="common" src="../dist/pikaday/pikaday.js"></script>\n
<script data-jsfiddle="common" src="../dist/moment/moment.js"></script>\n
<script data-jsfiddle="common" src="../dist/zeroclipboard/ZeroClipboard.js"></script>\n
<script data-jsfiddle="common" src="../dist/handsontable.js"></script>\n
\n
<!--\n
Loading demo dependencies. They are used here only to enhance the examples on this page\n
-->\n
<link data-jsfiddle="common" rel="stylesheet" media="screen" href="css/samples.css?20140331">\n
<script src="js/samples.js"></script>\n
<script src="js/highlight/highlight.pack.js"></script>\n
<link rel="stylesheet" media="screen" href="js/highlight/styles/github.css">\n
<link rel="stylesheet" href="css/font-awesome/css/font-awesome.min.css">\n
\n
<!--\n
Facebook open graph. Don\'t copy this to your project :)\n
-->\n
<meta property="og:title" content="beforeKeyDown callbacks">\n
<meta property="og:description"\n
content="">\n
<meta property="og:url" content="http://handsontable.com/demo/beforeKeyDown.html">\n
<meta property="og:image" content="http://handsontable.com/demo/image/og-image.png">\n
<meta property="og:image:type" content="image/png">\n
<meta property="og:image:width" content="409">\n
<meta property="og:image:height" content="164">\n
<link rel="canonical" href="http://handsontable.com/demo/beforeKeyDown.html">\n
\n
<!--\n
Google Analytics for GitHub Page. Don\'t copy this to your project :)\n
-->\n
<script src="js/ga.js"></script>\n
\n
</head>\n
\n
<body>\n
\n
\n
<div class="wrapper">\n
<div class="wrapper-row">\n
<div id="global-menu-clone">\n
<h1><a href="../index.html">Handsontable</a></h1>\n
\n
</div>\n
\n
<div id="container">\n
<div class="columnLayout">\n
\n
<div class="rowLayout">\n
<div class="descLayout">\n
<div class="pad" data-jsfiddle="example1">\n
<a name="lazy"></a>\n
\n
<h2>beforeKeyDown callback</h2>\n
\n
<p>The following demo uses <code>beforeKeyDown</code> callback to modify some key bindings:</p>\n
\n
<ul>\n
<li>Pressing DELETE or BACKSPACE on a cell deletes the cell and shifts all cells beneath it in the column up\n
resulting in the cursor (which doesn\'t move) having the value previously beneath it, now in the current\n
cell.\n
</li>\n
<li>Pressing ENTER in a cell (not changing the value) results in pushing all the cells in the column beneath\n
this cell down one row (including current cell) resulting in a blank cell under the cursor (which hasn\'t\n
moved)\n
</li>\n
</ul>\n
\n
<div id="example1"></div>\n
\n
<p>\n
<button name="dump" data-dump="#example1" data-instance="hot" title="Prints current data source to Firebug/Chrome Dev Tools">\n
Dump data to console\n
</button>\n
</p>\n
</div>\n
</div>\n
\n
<div class="codeLayout">\n
<div class="pad">\n
<div class="jsFiddle">\n
<button class="jsFiddleLink" data-runfiddle="example1">Edit in jsFiddle</button>\n
</div>\n
\n
<script data-jsfiddle="example1">\n
var data = [\n
[\'Nissan\', 2009, \'black\', \'black\'],\n
[\'Nissan\', 2006, \'blue\', \'blue\'],\n
[\'Chrysler\', 2004, \'yellow\', \'black\'],\n
[\'Volvo\', 2012, \'yellow\', \'gray\']\n
],\n
container = document.getElementById("example1"),\n
lastChange = null,\n
hot;\n
\n
hot = new Handsontable(container, {\n
data: data,\n
colHeaders: true,\n
rowHeaders: true,\n
minSpareRows: 1,\n
beforeChange: function (changes, source) {\n
lastChange = changes;\n
}\n
});\n
\n
hot.updateSettings({\n
beforeKeyDown: function (e) {\n
var selection = hot.getSelected();\n
\n
// BACKSPACE or DELETE\n
if (e.keyCode === 8 || e.keyCode === 46) {\n
Handsontable.dom.stopImmediatePropagation(e);\n
// remove data at cell, shift up\n
hot.spliceCol(selection[1], selection[0], 1);\n
e.preventDefault();\n
}\n
// ENTER\n
else if (e.keyCode === 13) {\n
// if last change affected a single cell and did not change it\'s values\n
if (lastChange && lastChange.length === 1 && lastChange[0][2] == lastChange[0][3]) {\n
Handsontable.dom.stopImmediatePropagation(e);\n
hot.spliceCol(selection[1], selection[0], 0, \'\'); // add new cell\n
hot.selectCell(selection[0], selection[1]); // select new cell\n
}\n
}\n
\n
lastChange = null;\n
}\n
}\n
);\n
</script>\n
</div>\n
</div>\n
</div>\n
\n
<div class="footer-text">\n
</div>\n
</div>\n
\n
</div>\n
\n
</div>\n
</div>\n
\n
<div id="outside-links-wrapper"></div>\n
\n
</body>\n
</html>\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>5508</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>beforeKeyDown.html</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>bootstrap</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>bootstrap</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>css</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>css</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>img</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>img</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>js</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>v3</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>v3</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>css</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>css</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>bower_components</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>bower_components</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>chroma-js</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>chroma-js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272304.51</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>.bower.json</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/json</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
{\n
"name": "chroma-js",\n
"description": "JavaScript library for color conversions",\n
"version": "0.5.6",\n
"main": [\n
"./chroma.js"\n
],\n
"ignore": [\n
"doc",\n
"src",\n
"**/.*",\n
"node_modules",\n
"bower_components",\n
"test",\n
"tests"\n
],\n
"homepage": "https://github.com/gka/chroma.js",\n
"authors": [\n
"Gregor Aisch <contact@vis4.net>"\n
],\n
"keywords": [\n
"color",\n
"scale",\n
"gradient",\n
"scheme",\n
"rgb",\n
"hsv",\n
"hsl",\n
"css",\n
"lch",\n
"lab"\n
],\n
"license": "MIT",\n
"_release": "0.5.6",\n
"_resolution": {\n
"type": "version",\n
"tag": "v0.5.6",\n
"commit": "f32c4b552f28664fe48514fcb49f59459ec50d4d"\n
},\n
"_source": "git://github.com/gka/chroma.js.git",\n
"_target": "~0.5.6",\n
"_originalSource": "chroma-js"\n
}
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>791</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>.bower.json</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272299.68</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>LICENSE-colors</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>\n
chroma.js includes colors from colorbrewer2.org,\n
which are released under the following license:\n
\n
\n
Copyright (c) 2002 Cynthia Brewer, Mark Harrower, \n
and The Pennsylvania State University.\n
\n
Licensed under the Apache License, Version 2.0 (the "License"); \n
you may not use this file except in compliance with the License.\n
You may obtain a copy of the License at\t\n
http://www.apache.org/licenses/LICENSE-2.0\n
\n
Unless required by applicable law or agreed to in writing, \n
software distributed under the License is distributed on an \n
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, \n
either express or implied. See the License for the specific \n
language governing permissions and limitations under the License.\n
\n
\n
Named colors are taken from X11 Color Names.\n
http://www.w3.org/TR/css3-color/#svg-color\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>806</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>LICENSE-colors</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272300.99</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>LICENSE</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>chroma.js - JavaScript library for color conversions\n
\n
Copyright (c) 2011-2013, Gregor Aisch\n
All rights reserved.\n
\n
Redistribution and use in source and binary forms, with or without\n
modification, are permitted provided that the following conditions are met:\n
\n
1. Redistributions of source code must retain the above copyright notice, this\n
list of conditions and the following disclaimer.\n
\n
2. Redistributions in binary form must reproduce the above copyright notice,\n
this list of conditions and the following disclaimer in the documentation\n
and/or other materials provided with the distribution.\n
\n
3. The name Gregor Aisch may not be used to endorse or promote products\n
derived from this software without specific prior written permission.\n
\n
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\n
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n
DISCLAIMED. IN NO EVENT SHALL GREGOR AISCH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\n
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1497</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>LICENSE</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272299.01</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>build.sh</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/x-sh</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
#!/bin/bash\n
echo "###*" > license.coffee\n
echo " * @license" >> license.coffee\n
echo " *" >> license.coffee\n
while read i\n
do\n
echo " * $i" >> license.coffee\n
done < LICENSE\n
echo "###" >> license.coffee\n
coffee -o . -j chroma.js license.coffee src/api.coffee src/color.coffee src/conversions/*.coffee src/scale.coffee src/limits.coffee src/colors/*.coffee src/utils.coffee src/interpolate.coffee\n
uglifyjs --comments "@license" chroma.js > chroma.min.js\n
rm license.coffee\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>469</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>build.sh</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment