Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesplease committed Oct 6, 2014
1 parent 246718f commit 5a79891
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "backbone.base-router",
"version": "0.2.0",
"version": "0.3.0",
"homepage": "https://github.com/jmeas/backbone.base-router",
"authors": [
"Jmeas <jellyes2@gmail.com>"
Expand Down
7 changes: 2 additions & 5 deletions dist/backbone.base-router.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Backbone.BaseRouter v0.2.0
// Backbone.BaseRouter v0.3.0
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['backbone', 'underscore'], function(Backbone, _) {
Expand Down Expand Up @@ -30,9 +30,6 @@

Backbone.BaseRouter = Backbone.Router.extend({

// The instance of history that this Router uses
history: Backbone.history,

// The single point of entry. This is called whenever a
// route is matched. The routeData argument contains lots of
// useful information.
Expand All @@ -54,7 +51,7 @@

// Register a callback with history
var router = this;
this.history.route(route, function(fragment, navOptions) {
Backbone.history.route(route, function(fragment, navOptions) {
var routeParams = router._extractParameters(route, fragment);
var queryString = routeParams.pop();

Expand Down
4 changes: 2 additions & 2 deletions dist/backbone.base-router.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/backbone.base-router.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "backbone.base-router",
"version": "0.2.0",
"version": "0.3.0",
"description": "A better starting point for a new Backbone Router.",
"main": "dist/backbone.base-router.js",
"directories": {
Expand Down

0 comments on commit 5a79891

Please sign in to comment.