Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ How to build
============

```sh
# Build for developement
# Build for development
$ npm run build

# Start the Webpack dev server
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down
10 changes: 5 additions & 5 deletions misc/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down Expand Up @@ -159,7 +159,7 @@ <h2><a id="how-do-i-write-a-cell-that-renders-a-button-"
>How do I write a cell that renders a button?</a></h2>
<p>It is quite common to want to use a cell that acts on an entire
row. You may want to pop up a modal, delete the row, or toggle
editibility for all the columns. The possibilities are endless. For
editability for all the columns. The possibilities are endless. For
those cases, you can write a custom <code>ActionCell</code>, and then
pass it to the column definition.</p>
<textarea class="code-snippet" data-mode="javascript">
Expand All @@ -169,7 +169,7 @@ <h2><a id="how-do-i-write-a-cell-that-renders-a-button-"
},
deleteRow: function(e) {
e.preventDefault();
this.model.destory();
this.model.destroy();
},
render: function () {
this.$el.html('<button>-</button>');
Expand Down Expand Up @@ -277,7 +277,7 @@ <h2>
<li>Pay your tribute to the almighty <a href="https://www.google.com/" title="Google">Google</a>.</li>
<li>
Go to <a href="http://stackoverflow.com/questions/tagged/backgrid" title="StackOverflow">StackOverflow</a>
or as a last resort, <a href="https://github.com/wyuenho/backgrid/issues" title="Github">Github</a>.
or as a last resort, <a href="https://github.com/wyuenho/backgrid/issues" title="GitHub">GitHub</a>.
</li>
</ol>
<h2>
Expand Down Expand Up @@ -351,7 +351,7 @@ <h2>
consideration.</p>
<p>See the list
of <a href="https://github.com/wyuenho/backgrid/issues?labels=enhancement&amp;milestone=&amp;page=1&amp;state=open"
title="Github Issues">tasks and enhancements</a>.</p>
title="GitHub Issues">tasks and enhancements</a>.</p>
<h2>
<a id="how-to-build-backgrid-js-" href="#how-to-build-backgrid-js-" title="How to build Backgrid.js?" class="section">How to build Backgrid.js?</a>
</h2>
Expand Down
2 changes: 1 addition & 1 deletion misc/license.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down
2 changes: 1 addition & 1 deletion misc/styling.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down
4 changes: 2 additions & 2 deletions ref/body.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down Expand Up @@ -163,7 +163,7 @@ <h3>
<h3>
<a id="customizing-body" href="#customizing-body" title="Customizing Body" class="section">Customizing Body</a>
</h3>
<p class="label label-danger">Truely Advanced Hacking</p>
<p class="label label-danger">Truly Advanced Hacking</p>
<p>Body is the intermediary view that coordinates between the various
parts of the grid. Specifically, the default implementation is
responsible for re-rendering the rows when any model is inserted into,
Expand Down
6 changes: 3 additions & 3 deletions ref/cell.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down Expand Up @@ -299,8 +299,8 @@ <h3>
respond appropriately. When editing is done, a cell editor
should fire a Backbone <code>backgrid:edited</code> event. A cell
should be listening to this event so it can remove its editor
and re-render itsef in display mode.</p>
<p class="label label-danger">Truely Advanced Hacking</p>
and re-render itself in display mode.</p>
<p class="label label-danger">Truly Advanced Hacking</p>
<p>At the most basic level, Cells and CellEditors are simply
<a href="http://backbonejs.org/#View"
title="Backbone.View">Backbone.View</a> classes that are
Expand Down
2 changes: 1 addition & 1 deletion ref/column.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down
2 changes: 1 addition & 1 deletion ref/extensions/development.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down
22 changes: 11 additions & 11 deletions ref/extensions/filter.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down Expand Up @@ -181,20 +181,20 @@ <h3>
</h3>
<p>ServerSideFilter is suitable if you have a server where you send the
search queries to get back a result. The follow example will create a
collection that uses Github's excellent API to search for Github
collection that uses GitHub's excellent API to search for GitHub
users. See <a
href="http://developer.github.com/v3/search/#search-users"
title="Github API - Search Users">here</a> for the valid search terms
title="GitHub API - Search Users">here</a> for the valid search terms
to use.</p>
<textarea class="code-snippet" data-mode="javascript" data-eval="no">
// Creates a Backbone.PageableCollection to talk to Github's API.
// Creates a Backbone.PageableCollection to talk to GitHub's API.

// While you don't have to use Backbone.PageableCollection, it is
// recommended that you do because of its good support for querying
// RESTful APIs that support pagination and sorting.

// See https://github.com/backbone-paginator/backbone.paginator
var GithubUsers = Backbone.PageableCollection.extend({
var GitHubUsers = Backbone.PageableCollection.extend({
url: "https://api.github.com/search/users",

state: {
Expand All @@ -219,7 +219,7 @@ <h3>

});

var githubUsers = new GithubUsers();
var githubUsers = new GitHubUsers();

// ... and then give the collection instance to a grid as usual ...</textarea>
<textarea class="code-snippet" data-mode="javascript" data-eval="yes">
Expand All @@ -235,14 +235,14 @@ <h3>
<div id="server-side-filter-example-result">
<aside class="note">
<h3>Note:</h3>
<p>Github's API is <a
href="http://developer.github.com/v3/search/#rate-limit" title="Github
<p>GitHub's API is <a
href="http://developer.github.com/v3/search/#rate-limit" title="GitHub
API Rate Limit">rate limited</a>, if the example doesn't work, you
may want to try again in a few minutes.</p>
</aside>
<p>
<span class="label label-info">Tip</span>
<a href="http://developer.github.com/v3/search/#search-users" title="Github Search User API">Github Search User API</a>
<a href="http://developer.github.com/v3/search/#search-users" title="GitHub Search User API">GitHub Search User API</a>
</p>
<div class="backgrid-container"></div>
</div>
Expand Down Expand Up @@ -329,7 +329,7 @@ <h3>
</script>
<script src="/build/bundle.js"></script>
<script>
var GithubUsers = Backbone.PageableCollection.extend({
var GitHubUsers = Backbone.PageableCollection.extend({
url: "https://api.github.com/search/users",

state: {
Expand All @@ -354,7 +354,7 @@ <h3>

});

var githubUsers = new GithubUsers();
var githubUsers = new GitHubUsers();

var serverGrid = new Backgrid.Grid({
columns: [{
Expand Down
2 changes: 1 addition & 1 deletion ref/extensions/moment-cell.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down
8 changes: 4 additions & 4 deletions ref/extensions/paginator.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down Expand Up @@ -192,7 +192,7 @@ <h3>
parameters but you are able to configure the query string
mapping anyway you like. The following example works with
<a href="http://developer.github.com/v3/" title="GitHub API
v3">Github's API</a>:</p>
v3">GitHub's API</a>:</p>
<textarea class="code-snippet" data-mode="javascript" data-eval="yes">
// Works exactly like Backbone.Collection.
var Issues = Backbone.PageableCollection.extend({
Expand Down Expand Up @@ -291,8 +291,8 @@ <h3>
</h3>
<aside class="note">
<h3>Note:</h3>
<p>Github's API is <a
href="http://developer.github.com/v3/search/#rate-limit" title="Github
<p>GitHub's API is <a
href="http://developer.github.com/v3/search/#rate-limit" title="GitHub
API Rate Limit">rate limited</a>, if the example doesn't work, you
may want to try again in a few minutes.</p>
</aside>
Expand Down
10 changes: 5 additions & 5 deletions ref/extensions/select-all.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down Expand Up @@ -231,11 +231,11 @@ <h3><a id="result" href="#result" title="Result" class="section">Result</a></h3>
<div class="row">
<div class="col-md-9 col-md-offset-3">
<h3>
<a id="manipulating-selections-programatically"
href="#manipulating-selections-programatically"
title="Manipulating Selections Programatically"
<a id="manipulating-selections-programmatically"
href="#manipulating-selections-programmatically"
title="Manipulating Selections Programmatically"
class="section"
>Manipulating Selections Programatically</a>
>Manipulating Selections Programmatically</a>
</h3>
<p>At any point during the lifetime of your program, if you'd like
to get an array of the currently selected models after you've
Expand Down
4 changes: 2 additions & 2 deletions ref/extensions/select2-cell.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down Expand Up @@ -256,7 +256,7 @@ <h3>
// Records the time since the last fetch
lastUpdated: null,

// Max time ellapsed allowed since the last fetch.
// Max time elapsed allowed since the last fetch.
// 5 minutes in miniseconds in this case.
maxTimeSinceLastUpdate: 300000,

Expand Down
2 changes: 1 addition & 1 deletion ref/extensions/text-cell.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down
2 changes: 1 addition & 1 deletion ref/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down
6 changes: 3 additions & 3 deletions ref/forewords.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down Expand Up @@ -169,7 +169,7 @@ <h3>
<p>Backgrid's View components are, borrowing from <a
href="http://marionettejs.com/" title="Marionette">Marionette</a>'s
parlance, primarily <em>CollectionView</em> and <em>ItemView</em>
components, which means the components are to be layed out
components, which means the components are to be laid out
sequentially. However, the Grid's root element itself can be inserted
to any where in the DOM.</p>
<aside class="note">
Expand Down Expand Up @@ -206,7 +206,7 @@ <h2>
that, spend an inordinate amount of time to source for another similar
plugin. If all else failed, you have to roll your own plugin.</p>
<p>Your laziness has backfired, but that doesn't have to be the case.</p>
<p>The inherant problem with the jQuery plugin model is that it doesn't
<p>The inherent problem with the jQuery plugin model is that it doesn't
offer you any help other than giving you a namespace, and the combined
laziness of plugin authors and users have created an ecosystem full of
opaque plugins that produce DOM structures that are hard to
Expand Down
2 changes: 1 addition & 1 deletion ref/formatter.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down
2 changes: 1 addition & 1 deletion ref/grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down
2 changes: 1 addition & 1 deletion ref/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down
2 changes: 1 addition & 1 deletion ref/row.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down
2 changes: 1 addition & 1 deletion src/partials/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ul>
<ul id="social-media" class="nav navbar-nav navbar-right visible-md visible-lg">
<li>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on Github"></a>
<a class="sprite-icons-github" href="https://github.com/wyuenho/backgrid" title="Fork me on GitHub"></a>
</li>

<li>
Expand Down
Loading