Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:trunkclub/backgrid-sum
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Meyers committed May 20, 2014
2 parents 4754a20 + ca2428f commit f83bffe
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
backgrid-sum
backgrid-sum (v0.1.1)
============

#### Step 1)
Expand Down Expand Up @@ -60,3 +60,21 @@ var grid = new Backgrid.Grid({
`columnsToSum` is optional. If omitted, all columns will be summed.
#### multiplier
`multiplier` is optional. It can be a `Number`, or it can be a `String` representing the `name` of the column.

### Installing with bower
Add `"backgrid-sum": "~0.1.1"` to the `dependencies` section of your `bower.json`.

#### Using lodash instead of underscore
If you're using lodash, just override the dependencies in your `bower.json`:
```javascript
"overrides": {
"backgrid-sum": {
"dependencies": {
"lodash": "*",
"backbone": "~1.1.0",
"jquery": "~2.0.3",
"backgrid": "~0.3.5"
}
}
}
```

0 comments on commit f83bffe

Please # to comment.