5
5
Thanks for considering contributions to the ui-grid project. This doc will give you a jump start on the development standards we use.
6
6
7
7
# Code Structure
8
- The development goal of ui-grid (ng-grid 3.0) is a fast, testable, and extendable grid component.
8
+ The development goal of ui-grid (ng-grid 3.0) is a fast, testable, and extensible grid component.
9
9
10
10
The core angular module (ui.grid) provides the basics
11
11
- Virtualization
@@ -22,7 +22,7 @@ Everything else should be added as new angular modules unless the grid team agre
22
22
* feature folder is added below src/js
23
23
* One js file per feature
24
24
* no global variables
25
- * design and code the angular way. If you don't know what that is, then maybe you shouldn't be contributing to an angular project.
25
+ * design and code the angular way. What do we main by that? Dependency injection, small directives, emphasis the model, not the DOM, tests!
26
26
* feature.js contains an enclosure:
27
27
28
28
``` javascript
@@ -50,7 +50,7 @@ Everything else should be added as new angular modules unless the grid team agre
50
50
#####During Grid controller initialization
51
51
Here you can do the following:
52
52
######columnBuilder
53
- columnBuilder functions allow you to add your own properties / functions to each GridCol object. for
53
+ ColumnBuilder functions allow you to add your own properties / functions to each GridCol object. for
54
54
testing ease, it's best to create a service that returns the function. See ui.grid.edit unit tests on how to easily test your function
55
55
56
56
``` javascript
@@ -72,7 +72,7 @@ testing ease, it's best to create a service that returns the function. See ui.g
72
72
```
73
73
74
74
######rowBuilder
75
- rowBuilder functions allow you to add your own properties / functions to each GridRow object. Again, it's
75
+ RowBuilder functions allow you to add your own properties / functions to each GridRow object. Again, it's
76
76
best to implement function in a service. See ui.grid.edit unit tests on how to easily test your function
77
77
78
78
``` javascript
0 commit comments