Skip to content

Commit

Permalink
Correct & simplify per spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Jul 25, 2015
1 parent 7e2ceeb commit 7b8b7fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/standard/notify-path.html
Original file line number Diff line number Diff line change
Expand Up @@ -431,11 +431,11 @@
var array = this.get(path);
// Normalize fancy native splice handling of crazy start values
if (start < 0) {
start = array.length - Math.floor(Math.abs(start));
start = array.length - Math.floor(-start);
} else {
start = Math.floor(start);
}
if (!start || !isFinite(start)) {
if (!start) {
start = 0;
}
var args = Array.prototype.slice.call(arguments, 1);
Expand Down

0 comments on commit 7b8b7fd

Please sign in to comment.