rain1024 / gVim-Pathogen

My Coding Life
http://rain1024.github.io/gVim-Pathogen
2 stars 0 forks source link

Javascript #2

Open rain1024 opened 10 years ago

rain1024 commented 10 years ago
image
Documentation
image
Testing
image
Package Management
image
Scaffolding
? ? ? ?

Templates

Comment

/**
 * @fileoverview  : <edithere>
 * @author        : <edithere>
 */

[1]

Javascript Frameworks

angularJS

Visualization

d3js (RU: arborjs)

Package Management:

bower

Widget Toolkit

requireJS

Validation:

http://bower.io/search/?q=valid parsleyjs

Carousel

http://getbootstrap.com/javascript/#carousel

Slide

http://nicinabox.com/superslides/#1

Tools

Editor Online: plnkr.co (RU: jsfiddle)

rain1024 commented 10 years ago

Comment

Function comment

/**
 * Illustrates line wrapping for long param/return descriptions.
 * @param {string} foo This is a param with a description too long to fit in
 *     one line.
 * @return {number} This returns something that has a description too long to
 *     fit in one line.
 */
project.MyClass.prototype.method = function(foo) {
  return 5;
};

References

rain1024 commented 10 years ago

Object Oriented Programming

var screen = function(){
}
var Dog = function(){
    this.position = 0;
    this.move = function(){
        this.position += 5;
    }
}

var dog = new Dog();

console.log(dog);