Javascript: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→Less) |
||
Line 25: | Line 25: | ||
== Installation == | == Installation == | ||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
$ # Install node/nodejs for ARM v7. https://nodejs.org/en/download/ | $ npm install -g less | ||
npm http GET https://registry.npmjs.org/less | |||
npm http 304 https://registry.npmjs.org/less | |||
npm WARN engine [email protected]: wanted: {"node":">=0.12"} (current: {"node":"v0.10.25","npm":"1.3.10"}) | |||
$ # Install the current version of node/nodejs for my OS (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 | $ 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 | $ PATH=/home/odroid/Downloads/node-v4.4.5-linux-armv7l/bin:$PATH; export PATH |
Revision as of 06:17, 12 June 2016
Some resources
- http://www.w3schools.com/js/
- http://eloquentjavascript.net/
- http://javascript.info/
- https://developer.mozilla.org/en-US/Learn/Getting_started_with_the_web/JavaScript_basics
- http://htmldog.com/guides/javascript/
- http://www.tizag.com/javascriptT/
Book
- JavaScript and JQuery: Interactive Front-End Web Development by Jon Duckett
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
$ npm install -g less npm http GET https://registry.npmjs.org/less npm http 304 https://registry.npmjs.org/less npm WARN engine [email protected]: wanted: {"node":">=0.12"} (current: {"node":"v0.10.25","npm":"1.3.10"}) $ # Install the current version of node/nodejs for my OS (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