-
In `scrollable.js`:
``` js
static displayName = `Scrollable(${getDisplayName(DecoratedComponent)})`;
static DecoratedComponent = DecoratedComponent;
```
But [according to this issue](https:/…
-
We have developed a single page application using aurelia+type script+jspm.Our purpose is remove the jspm packages from the project. We have using karma framework for unit testing. We have moved all f…
-
## Decorator is simply function
- 클래스를 정의할 때 코드를 삽입(Inject code)할 수 있게 한다.
C# attributes 나 [Java annotation](https://ko.wikipedia.org/wiki/%EC%9E%90%EB%B0%94_%EC%95%A0%EB%84%88%ED%85%8C%EC%9D%B4%…
-
https://www.martin-brennan.com/es7-decorators/
-
This is meant to be a discussion for future support as more ES7 features become standardized.
Currently every import comes bundled with the `Rewire` API. In order to rewire components, the rewire api…
-
Now that Node.js 4.0 is out and most other modern frameworks leverage the concept of Classes in Javascript, I think it would be very appropriate if Marko Widgets (and Marko Tags in general) supported …
-
_From @pascalopitz on November 19, 2015 11:43_
I am getting a parsing error for decorators on object literal properties. My jsconfig.json looks like this:
```
{
"compilerOptions": {
"tar…
-
> Decorator is a JavaScript function (recommended pure function) which is used to modify class properties/methods or class itself. When you add @decoratorFunction syntax on the top of class property, …
-
Can I use the createSelectable(cmp) as an ES7 decorator? I need to chain the decorators as I want to use this library in combination with the react-dnd higher order component.
serle updated
7 years ago
-
## Why I want to learn decorator
Find [this project](https://github.com/mobxjs/mobx) in today's github trending, it is using decorator.
## Why decorator
> Decorators make it possible to annotate and…