Javascript

From 太極
Revision as of 06:15, 12 June 2016 by Brb (talk | contribs)
Jump to navigation Jump to search

Some resources

Book

Libraries

jQuery UI

It is mentioned in Creating multi-tab reports with R and jQuery UI

npm - package manager

sudo apt-get install npm

Less

Installation

$ # Install node/nodejs for ARM v7. https://nodejs.org/en/download/
$ wget https://nodejs.org/dist/v4.4.5/node-v4.4.5-linux-armv7l.tar.xz | tar xJ
$ PATH=/home/odroid/Downloads/node-v4.4.5-linux-armv7l/bin:$PATH; export PATH

$ npm install -g less
/home/odroid/Downloads/node-v4.4.5-linux-armv7l/bin/lessc -> /home/odroid/Downloads/node-v4.4.5-linux-armv7l/lib/node_modules/less/bin/lessc
[email protected] /home/odroid/Downloads/node-v4.4.5-linux-armv7l/lib/node_modules/less
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected])

$ # Less
$ wget https://github.com/less/less.js/archive/v2.6.1.zip
$ unzip v2.6.1.zip
$ cd less.js-2.6.1
$ ls
appveyor.yml  bower.json  build.gradle     dist     gradlew.bat   lib           README.md
benchmark     browser.js  CHANGELOG.md     gradle   Gruntfile.js  LICENSE       test
bin           build       CONTRIBUTING.md  gradlew  index.js      package.json
$ ls bin 
lessc