Lines Matching refs:app
38 app.alert('Applying to util itself - should succeed');
40 app.alert(util.byteToChar.apply(util, [65]));
43 app.alert('Caught: ' + e);
46 app.alert('Applying to array - should throw');
48 app.alert(util.byteToChar.apply([], [65]));
51 app.alert('Caught: ' + e);
54 app.alert('Applying to number - should throw');
56 app.alert(util.byteToChar.apply(7, [65]));
59 app.alert('Caught: ' + e);
62 app.alert('Applying to wrong native obj - should throw');
64 app.alert(util.byteToChar.apply(app, [65]));
67 app.alert('Caught: ' + e);