SAPUI5: fix adding new tasks, remove browser-dependent autoselect
The return value of Array.push() was expected to be the resulting array, but it is the length of the array. Not sure how this ever worked, maybe Array.push() had been overridden wrongly somewhere. The browser detection API conflicted with TodoMVC's code checks and is anyway undesired. Also update the URL from which SAPUI5 is loaded: sapui5.hana.ondemand.com is the one to use and is powered by Akamai CDN. Fixes https://github.com/tastejs/todomvc/issues/1315
Showing
Please register or sign in to comment