Skip to content
项目

关于

A JavaScript library that provides a set of classes for building content-editable HTML elements.

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

ContentEdit

Build Status

A JavaScript library that provides a set of classes for building content-editable HTML elements.

Install

Using bower

bower install --save ContentEdit

Using npm

npm install --save ContentEdit

Building

To build the library you'll need to use Grunt. First install the required node modules (grunt-cli must be installed):

git clone https://github.com/GetmeUK/ContentEdit.git
cd ContentEdit
npm install

Install Sass (if not already installed):

gem install sass

Then run grunt build to build the project.

Testing

To test the library you'll need to use Jasmine. First install Jasmine:

git clone https://github.com/pivotal/jasmine.git
mkdir ContentEdit/jasmine
mv jasmine/dist/jasmine-standalone-2.0.3.zip ContentEdit/jasmine
cd ContentEdit/jasmine
unzip jasmine-standalone-2.0.3.zip

Then open ContentEdit/SpecRunner.html in a browser to run the tests.

Alternatively you can use grunt jasmine to run the tests from the command line.

Documentation

Full documentation is available at http://getcontenttools.com/api/content-edit

Browser support

  • Chrome
  • Firefox
  • IE9+

探索相关项目

加载中…