@rails/actiontext
Advanced tools
Comparing version 7.0.1 to 7.0.2-1
@@ -7,3 +7,3 @@ import { DirectUpload } from "@rails/activestorage" | ||
this.element = element | ||
this.directUpload = new DirectUpload(attachment.file, this.directUploadUrl, this.directUploadToken, this.attachmentName, this) | ||
this.directUpload = new DirectUpload(attachment.file, this.directUploadUrl, this) | ||
} | ||
@@ -46,9 +46,2 @@ | ||
} | ||
get directUploadToken() { | ||
return this.element.getAttribute("data-direct-upload-token"); | ||
} | ||
get attachmentName() { | ||
return this.element.getAttribute("data-direct-upload-attachment-name"); | ||
} | ||
} |
{ | ||
"name": "@rails/actiontext", | ||
"version": "7.0.1", | ||
"version": "7.0.2-1", | ||
"description": "Edit and display rich text in Rails applications", | ||
@@ -5,0 +5,0 @@ "main": "app/javascript/actiontext/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3603
45
1