Skip to content

Commit

Permalink
Reverting build/ng-grid.debug.js to 2.0.6's version
Browse files Browse the repository at this point in the history
  • Loading branch information
c0bra committed May 7, 2013
1 parent 31233f8 commit afa1cc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/ng-grid.debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* ng-grid JavaScript Library
* Authors: https://github.com/angular-ui/ng-grid/blob/master/README.md
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
* Compiled At: 05/07/2013 07:44
* Compiled At: 04/23/2013 14:36
***********************************************/
(function(window, $) {
'use strict';
Expand Down Expand Up @@ -351,7 +351,7 @@ ngGridServices.factory('$sortService', ['$parse', function($parse) {
return sortService.sortBool;
case "string":
// if number string return number string sort fn. else return the str
return item.match(/^[-+]?[£$¤]?[\d,.]+%?$/) ? sortService.sortNumberStr : sortService.sortAlpha;
return item.match(/^-?[£$¤]?[\d,.]+%?$/) ? sortService.sortNumberStr : sortService.sortAlpha;
default:
//check if the item is a valid Date
if (Object.prototype.toString.call(item) === '[object Date]') {
Expand Down

0 comments on commit afa1cc9

Please sign in to comment.