Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update mercury js files

  • Loading branch information...
commit 093c5d09ffb9510340d5865e26c36468ea451c6a 1 parent 7ddd90c
@mixonic mixonic authored
View
7 public/mercury/javascripts/mercury.js
@@ -16357,8 +16357,7 @@ Showdown.converter = function() {
}).call(this);
(function() {
- var __indexOf = Array.prototype.indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },
- __hasProp = Object.prototype.hasOwnProperty;
+ var __hasProp = Object.prototype.hasOwnProperty;
this.Mercury.uploader = function(file, options) {
if (Mercury.config.uploading.enabled) Mercury.uploader.show(file, options);
@@ -16401,10 +16400,10 @@ Showdown.converter = function() {
return !!(xhr.upload && xhr.sendAsBinary && (Mercury.uploader.fileReaderSupported() || Mercury.uploader.formDataSupported()));
},
fileReaderSupported: function() {
- return !!(__indexOf.call(window, 'FileReader') >= 0);
+ return !!window.FileReader;
},
formDataSupported: function() {
- return !!(__indexOf.call(window, 'FormData') >= 0);
+ return !!window.FormData;
},
build: function() {
var _ref, _ref2;
View
4 public/mercury/javascripts/mercury.min.js
2 additions, 2 deletions not shown
Please sign in to comment.
Something went wrong with that request. Please try again.