From ab458926dd63b529bfb13f5608fa2c0eaa1f0e47 Mon Sep 17 00:00:00 2001
From: Tony Miller
Date: Fri, 15 Nov 2019 18:40:38 +0900
Subject: [PATCH 1/5] update docs to use angle bracket syntax
I tried use ember-angle-brackets-codemod, but it didn't seem to work on
.js files. So I edited the doc comments manually.
---
addon/components/file-dropzone/component.js | 14 +++++++-------
addon/components/file-upload/component.js | 8 ++++----
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/addon/components/file-dropzone/component.js b/addon/components/file-dropzone/component.js
index 8a8a233b7..df66a9444 100644
--- a/addon/components/file-dropzone/component.js
+++ b/addon/components/file-dropzone/component.js
@@ -24,7 +24,7 @@ const dragListener = new DragListener();
drag and drop.
```hbs
- {{{#file-dropzone name="photos" as |dropzone queue|}}
+
{{#if dropzone.active}}
{{#if dropzone.valid}}
Drop to upload
@@ -39,15 +39,15 @@ const dragListener = new DragListener();
{{#if dropzone.supported}}
Drag and drop images onto this area to upload them or
{{/if}}
- {{#file-upload name="photos"
- accept="image/*"
- multiple=true
- onfileadd=(action "uploadImage")}}
+ Add an Image.
- {{/file-upload}}
+