bastianallgeier / ContentSelect

A JavaScript library providing cross-browser support for content selection.

Home Page:http://getcontenttools.com/api/content-select

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ContentSelect

Build Status

A JavaScript library providing cross-browser support for content selection.

Install

Using bower

bower install --save ContentSelect

Using npm

npm install --save ContentSelect

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/ContentSelect.git
cd ContentSelect
npm install

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 ContentSelect/jasmine
mv jasmine/dist/jasmine-standalone-2.0.3.zip ContentSelect/jasmine
cd ContentSelect/jasmine
unzip jasmine-standalone-2.0.3.zip

Then open ContentSelect/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-select

Browser support

  • Chrome
  • Firefox
  • IE9+

About

A JavaScript library providing cross-browser support for content selection.

http://getcontenttools.com/api/content-select

License:MIT License


Languages

Language:CoffeeScript 95.1%Language:HTML 4.7%Language:JavaScript 0.1%