Skip to content

Commit

Permalink
Merge branch 'gSchool-fix-paste-string-bug'
Browse files Browse the repository at this point in the history
  • Loading branch information
Rovak committed Apr 10, 2016
2 parents 3f2904c + b7b4b2f commit 4d6f53d
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 7 deletions.
1 change: 1 addition & 0 deletions dist/angularjs.inline-attachment.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@
* @param {File} clipboard data file
*/
inlineAttachment.prototype.isFileAllowed = function(file) {
if (file.kind === 'string') { return false; }
if (this.settings.allowedTypes.indexOf('*') === 0){
return true;
} else {
Expand Down
2 changes: 1 addition & 1 deletion dist/angularjs.inline-attachment.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/codemirror-3.inline-attachment.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@
* @param {File} clipboard data file
*/
inlineAttachment.prototype.isFileAllowed = function(file) {
if (file.kind === 'string') { return false; }
if (this.settings.allowedTypes.indexOf('*') === 0){
return true;
} else {
Expand Down
2 changes: 1 addition & 1 deletion dist/codemirror-3.inline-attachment.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/codemirror-4.inline-attachment.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@
* @param {File} clipboard data file
*/
inlineAttachment.prototype.isFileAllowed = function(file) {
if (file.kind === 'string') { return false; }
if (this.settings.allowedTypes.indexOf('*') === 0){
return true;
} else {
Expand Down
Loading

0 comments on commit 4d6f53d

Please sign in to comment.