app/assets/javascripts/alchemy/alchemy.html5.js in alchemy_cms-2.2.rc13 vs app/assets/javascripts/alchemy/alchemy.html5.js in alchemy_cms-2.2.rc14
- old
+ new
@@ -1,13 +1,12 @@
// Testing for HTML5 features
-
if (typeof(Alchemy) === 'undefined') {
var Alchemy = {};
}
Alchemy.HTML5 = {};
-Alchemy.HTML5.hasUploadSupport = function () {
+Alchemy.HTML5.hasUploadSupport = function() {
return typeof(window.FileReader) !== 'undefined' && supportFileAPI() && supportAjaxUploadProgressEvents();
function supportFileAPI() {
var fi = document.createElement('INPUT');
fi.type = 'file';