unpoly

所属分类:其他
开发工具:CoffeeScript
文件大小:0KB
下载次数:0
上传日期:2023-10-18 15:50:09
上 传 者sh-1993
说明:  用于服务器端应用程序的无干扰Javascript框架,
(Unobtrusive Javascript Framework for server-side applications,)

文件列表:
.eslintrc.js (1088, 2023-12-25)
.nvmrc (7, 2023-12-25)
.ruby-version (6, 2023-12-25)
CHANGELOG.md (204173, 2023-12-25)
Gemfile (62, 2023-12-25)
Gemfile.lock (449, 2023-12-25)
LICENSE (1074, 2023-12-25)
Procfile.dev (260, 2023-12-25)
Rakefile (4552, 2023-12-25)
design/ (0, 2023-12-25)
design/ie11.txt (746, 2023-12-25)
design/todo.txt (34169, 2023-12-25)
design/v4.txt (343, 2023-12-25)
dist/ (0, 2023-12-25)
dist/CHANGELOG.md (15, 2023-12-25)
dist/LICENSE (10, 2023-12-25)
dist/package.json (15, 2023-12-25)
package-lock.json (213521, 2023-12-25)
package.json (1753, 2023-12-25)
spec/ (0, 2023-12-25)
spec/app.js (684, 2023-12-25)
spec/files/ (0, 2023-12-25)
spec/files/linked_script.js (49, 2023-12-25)
spec/files/video.mp4 (68005, 2023-12-25)
spec/helpers/ (0, 2023-12-25)
spec/helpers/agent_detector.coffee (324, 2023-12-25)
spec/helpers/allow_global_errors.coffee (687, 2023-12-25)
spec/helpers/async_sequence.js.coffee (3333, 2023-12-25)
spec/helpers/browser_switches.js.coffee (605, 2023-12-25)
spec/helpers/configure_animation.coffee (532, 2023-12-25)
spec/helpers/disable_history.coffee (173, 2023-12-25)
spec/helpers/enable_logging.js.coffee (32, 2023-12-25)
spec/helpers/expect_global_error.js (294, 2023-12-25)
... ...

[Unpoly 3](https://unpoly.com) ============================== Unobtrusive JavaScript framework for server-side applications ------------------------------------------------------------- [Unpoly](https://unpoly.com) enables fast and flexible frontends with minimal changes to your server-side code. This branch tracks the current major version, Unpoly **3.x**.\ If you're using Unpoly **2.x**, use the [`2.x-stable`](https://github.com/unpoly/unpoly/tree/2.x-stable) branch.\ If you're using Unpoly **1.x** or **0.x**, use the [`1.x-stable`](https://github.com/unpoly/unpoly/tree/1.x-stable) branch. Getting started --------------- - See [unpoly.com](https://unpoly.com) for guides and documentation. - See [installation instructions](https://unpoly.com/install) for many different package managers and languages. - See [discussions](https://github.com/unpoly/unpoly/discussions) for our community forum. - See [notable changes](https://unpoly.com/changes). Development ----------- ### Installing development dependencies To build Unpoly you require Node.js, Webpack and other npm packages. Install the Node version from `.nvmrc`. To install Webpack and other required npm packages, run: ``` npm install ``` ### Quick start The following will build the library and open a web browser with the test suite: ``` npm run dev ``` To run individual tasks instead, see below. ### Building the library Tests don't consume the sources directly, but from a transpiled build in `dist/`. To make fresh build, run: ``` npm run build-dev ``` This will build transpiled files such as: ``` dist/unpoly.js dist/unpoly.css dist/unpoly-migrate.js dist/jasmine.js dist/specs.js ``` There is also a task `npm run build` for a production build. This does not build files for testing, but also outputs minified versions. ### Watching files for changes During development it is impractical to make a full build after every change. Instead it is recommend to watch the project: ``` npm run watch-dev ``` This will make a fresh build and then watch the project for changes to the source files. When a source changes, affected build files are automatically recompiled. The incremental recompilation is much faster than a full build. ### Running tests Tests run using a browser-based [Jasmine](https://jasmine.github.io/) runner. To start a web server serving the Jasmine runner: ``` npm run test ``` This will open a server on and opens that URL with your default browser. In addition to the unit tests, there is an optional support repo [`unpoly-manual-tests`](https://github.com/unpoly/unpoly-manual-tests). It contains a Rails app to play with Unpoly features that are hard to test well with a unit test. E.g. the visual look of overlays, or edge cases when booting Unpoly. ### Making a new release You can use this repository to publish a new version of the `unpoly` npm package. The release process currently requires Ruby. To install these dependencies: - Install the Ruby version from `.ruby-version` - Run `bundle install` There is a guided CLI interface to lead you through the release process. To start the process run: ``` bundle exec rake release:process ``` Credits ------- - [Henning Koch](mailto:henning.koch@makandra.de) from [makandra](https://makandra.com) ([@triskweline](https://twitter.com/triskweline) on Twitter) - [Contributors](https://github.com/unpoly/unpoly/graphs/contributors)

近期下载者

相关文件


收藏者