Skip to content

Commit 5018476

Browse files
committed
Included initial files
1 parent 145d36c commit 5018476

11 files changed

Lines changed: 4905 additions & 0 deletions

File tree

docs/coding_conventions.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
## Coding Conventions
2+
### js
3+
* properties
4+
* publicMethod
5+
* _privateMethod
6+
* _PrivateVar
7+
* _OptionalPrivateVar_
8+
* PublicSubproperty -- with new cover model, perhaps not
9+
* variable
10+
* parameter/localVar
11+
* ClosuredParameters/ClosuredLocalVar
12+
* optionalParam_
13+
* additionalOptionalParam__
14+
* pairedAdditionalOptionalParam__
15+
* _paySpecialAttentionToThisVar
16+
* _PaySpecialAttentionToThisVar
17+
* CONST_REF
18+
19+
### angular specific
20+
* angular directives
21+
* [prefix directives with data- for valid html](http://stackoverflow.com/questions/16184428/what-is-the-difference-between-ng-app-and-data-ng-app)
22+
23+
## Coding methodology
24+
The structure below shows the intended structure of each instance of each class.
25+
Whenever possible direct access to instance properties should be avoided, and instead,
26+
properties should be accessed, and behaviors initiated via method calls.
27+
28+

js/lib/jasmine-1.3.1/MIT.LICENSE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright (c) 2008-2011 Pivotal Labs
2+
3+
Permission is hereby granted, free of charge, to any person obtaining
4+
a copy of this software and associated documentation files (the
5+
"Software"), to deal in the Software without restriction, including
6+
without limitation the rights to use, copy, modify, merge, publish,
7+
distribute, sublicense, and/or sell copies of the Software, and to
8+
permit persons to whom the Software is furnished to do so, subject to
9+
the following conditions:
10+
11+
The above copyright notice and this permission notice shall be
12+
included in all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)