Skip to content
Browse files

Fixed ie string indexing issue

  • Loading branch information...
1 parent 2dda3da commit c8dfed32b476d2b72a58c81d31dcd2b6fcb66c1c @krmorse krmorse committed Jun 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 deploy/lumenize.js
View
4 deploy/lumenize.js
@@ -1449,11 +1449,11 @@ require.define("/ChartTime.coffee", function(require, module, exports, __dirname
if (mask != null) {
if (mask.indexOf('#') >= 0) {
i = mask.length - 1;
- while (mask[i] !== '#') {
+ while (mask.charAt(i) !== '#') {
i--;
}
segmentEnd = i;
- while (mask[i] === '#') {
+ while (mask.charAt(i) === '#') {
i--;
}
granularitySpec.segmentStart = i + 1;

0 comments on commit c8dfed3

Please sign in to comment.
Something went wrong with that request. Please try again.