mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 00:41:16 +08:00
Rename all test files from JS -> ES6
This commit is contained in:
13
test/javascripts/components/share-button.js
Normal file
13
test/javascripts/components/share-button.js
Normal file
@ -0,0 +1,13 @@
|
||||
import Button from "discourse/components/d-button";
|
||||
|
||||
export default Button.extend({
|
||||
classNames: ["btn-default", "share"],
|
||||
icon: "link",
|
||||
title: "topic.share.help",
|
||||
label: "topic.share.title",
|
||||
attributeBindings: ["url:data-share-url"],
|
||||
|
||||
click() {
|
||||
return true;
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user