Skip to content

Commit

Permalink
increase version number to v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
isteven committed Nov 7, 2014
1 parent fdee3cb commit 207f5fe
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
### v1.0.0
First release

### v2.0.0
##### Added / Updated:
- Replaced [[...]] with [[rr:...]] (Warning: breaks backward compatibility! Those who upgraded from v1.0.0 must update their views!)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Use $routeParams directly in your view
Go to http://isteven.github.io/angular-route-rage

### Current Version
1.0.0
2.0.0

### Change Log
See <a href="https://github.com/isteven/angular-route-rage/blob/master/CHANGELOG.md">CHANGELOG.md</a>
Expand Down
5 changes: 3 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name" : "isteven-angular-route-rage",
"version" : "v1.0.0",
"version" : "v2.0.0",
"main" : [
"angular-route-rage.js"
],
"ignore" : [
".git",
".gitignore",
"bower.json",
"README.md"
"CHANGELOG.md"
"README.md",
]
}
6 changes: 3 additions & 3 deletions isteven-route-rage.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Use $routeParams variables directly in your view
*
* Project started on: Thu, 25 Sep 2014 - 09:21:54
* Current version: 1.0.0
* Current version: 2.0.0
*
* Released under the MIT License
* --------------------------------------------------------------------------------
Expand Down Expand Up @@ -62,7 +62,7 @@ angular.module( 'isteven-rr', ['ng'] ).directive( 'istevenRr' , [
var arrRouteParams = Object.keys( $routeParams );

// Find the "route tokens"( those [[...]] ) from this domString
var scopePars = domString.match( /\[\[[^\]\]]+\]\]/g );
var scopePars = domString.match( /\[\[rr:[^\]\]]+\]\]/g );

angular.forEach( scopePars, function( value, key ) {

Expand All @@ -73,7 +73,7 @@ angular.module( 'isteven-rr', ['ng'] ).directive( 'istevenRr' , [
var isExpression = true;

// Some clean ups
var tempVal = value.replace( /\[\[/, '' );
var tempVal = value.replace( /\[\[rr:/, '' );
tempVal = tempVal.replace( /\]\]/, '' );

// Find matches in route params
Expand Down

0 comments on commit 207f5fe

Please sign in to comment.