nicdaCosta / Object.hasOwnProperty.com

GNU General Public License v2.0
2 stars 0 forks source link

Math and touch #2

Open divanvisagie opened 11 years ago

divanvisagie commented 11 years ago

No result for the Math property or touch on iPad.

nicdaCosta commented 11 years ago

Found the potential issue with Math. The MathConstructor is returned successfully in Grep.js but when parsing the results, the procedure does a for in...loop as opposed to Object.getOwnPropertyNames(). This does not resolve the required promise as the for in does not return any properties of Math, it results in undefined.

I will need to revisit and possibly rewrite / tweak the method that builds the results to cater for this.