dpogue opened a new pull request, #284:
URL: https://github.com/apache/cordova-js/pull/284

   Because `indexOf` returns -1 in the case of no match, and a subtraction of 
string lengths can also potentially result in -1, we want to make sure the 
index is **not** -1 before we try to substring with it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to