It's 2024. You should use tsup instead of this.
🔥 Blazing fast builds
😇 CommonJS bundle
🌲 .mjs
bundle
✨ .d.ts
bundle + type-checking
<!-- USAGE --> | |
<drag-drop-file-upload ref="dragDropFileUpload" @handleInput="changeImage"></drag-drop-file-upload> | |
//Handle image change/upload etc | |
changeImage({file, filePreview}) { | |
console.log({file, filePreview}); | |
}, | |
//Clear files added/dropped onto component? |
It's 2024. You should use tsup instead of this.
🔥 Blazing fast builds
😇 CommonJS bundle
🌲 .mjs
bundle
✨ .d.ts
bundle + type-checking
// console.log("Hello, World!"); | |
var countElements = function(arr) { | |
var result = 0; | |
// output = 0; | |
// count elements | |
for (var i = 0; i < arr.length; i++) { | |
if(arr.includes(arr[i] + 1)) { | |
result+= 1 | |
} |
This is an example of how to use the Google Drive file picker and Google Drive API to retrieve files from Google Drive using pure JavaScript. At the time of writing (14th July 2013), Google have good examples for using these two APIs separately, but no documentation on using them together.
Note that this is just sample code, designed to be concise to demonstrate the API. In a production environment, you should include more error handling.
See a demo at http://stuff.dan.cx/js/filepicker/google/
-- https://github.com/MassTransit/MassTransit/discussions/4847 | |
CREATE TABLE inbox_state | |
( | |
id bigint GENERATED BY DEFAULT AS IDENTITY, | |
message_id uuid NOT NULL, | |
consumer_id uuid NOT NULL, | |
lock_id uuid NOT NULL, | |
row_version bytea, | |
received timestamp with time zone NOT NULL, | |
receive_count integer NOT NULL, |