Skip to content

Commit

Permalink
build last chanegs (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
jywarren authored May 2, 2018
1 parent d7ba5c9 commit b7d8bf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/PublicLab.Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -22306,7 +22306,7 @@ module.exports = function(textarea, _editor, _module) {
// should return whether `e.dataTransfer.files[i]` is valid, defaults to a `true` operation
validate: function isAttachment (file) {
var valid = true,
formats = _module.options.formats || ['csv', 'xls', 'zip', 'kml', 'kmz', 'gpx', 'lut', 'stl', 'dxf', 'txt', 'pdf', 'svg', 'doc', 'ppt'],
formats = _module.options.attachmentFormats || ['csv', 'xls', 'zip', 'kml', 'kmz', 'gpx', 'lut', 'stl', 'dxf', 'txt', 'pdf', 'svg', 'doc', 'ppt'],
filetype = file.name.split('.')[file.name.split('.').length - 1];
filetype = filetype.toLowerCase();
if (formats.indexOf(filetype) === -1) valid = false;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "publiclab-editor",
"version": "1.2.1",
"version": "1.2.2",
"description": "PublicLab.Editor is a general purpose, JavaScript/Bootstrap UI framework for rich text posting, which provides an author-friendly, minimal, mobile/desktop (fluid) interface for creating blog-like content, designed for PublicLab.org",
"main": "dist/PublicLab.Editor.js",
"scripts": {
Expand Down

0 comments on commit b7d8bf4

Please sign in to comment.