Treesaver/treesaver
关于
用于创建分栏和分页布局的 JavaScript 库
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 0
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Treesaver
Treesaver is JavaScript framework for creating magazine-style layouts using standards-compliant HTML and CSS.
Getting Started / Documentation
The Treesaver wiki is the best source of documentation and reference. Note that the documentation is still a work in progress.
Support/Questions
Use the Treesaver.js Mailing List.
Building Treesaver
Use the instructions below if you wish to build Treesaver from scratch. Most people are better off downloading a pre-built version.
Dependencies
- CoffeeScript: For running build script.
- Python & Java: For using Google's compiler tools.
- Closure Linter: Check and fix coding style. (optional)
Setup Instructions
- Make sure to install all the dependencies
- Clone a copy of the Treesaver repo by running:
git clone git://github.com/treesaver/treesaver.git
Commands
Note that these commands must be run from the root directory of the repository. You can type cake to view available commands.
cake deps: Create dependency script for testingcake compile: Compile JavaScript files for production. Can be used with one or more compilation flags:cake --debug compile: Use debug-friendly minificationcake --ios compile: Compile version for use within an IOSUIWebView
cake debug: Concatenate files for use when debugging (preserves comments, formatting, etc). Supports the following compilation flags:cake --ios debug: Compile version for use within an IOSUIWebView
cake lint: Check style with lintcake fix_lint: Automatically fix lint errorscake clean: remove build artifacts
License
Dual-licensed under MIT and GPLv2
Contributing
Coding Style
Yes, the code looks verbose and kind of like Java. That is because it follows the Google Closure style. This is in order to get better compression via the Closure Compiler. UglifyJS shows a lot of potential, and merits investigation.
Although Google Closure style and compiler are used, note that Treesaver does not use the Closure Library (other than a few functions in base.js which are used for dependency management and are not present in production).
Contributors
探索相关项目
加载中…