14 Matching Annotations
- Mar 2023
-
www.typescriptlang.org www.typescriptlang.org
Tags
Annotators
URL
-
-
tc39.es tc39.es
-
-
www.proposals.es www.proposals.es
Tags
Annotators
URL
-
-
github.com github.com
Tags
Annotators
URL
-
-
tarasevich.wordpress.com tarasevich.wordpress.com
-
yehudakatz.com yehudakatz.com
-
stackoverflow.com stackoverflow.com
-
def document(f): def wrap(x): print "I am going to square", x f(x) return wrap @document def square(x): print math.pow(x, 2) square(5)
-
- Nov 2020
-
-
Since 'using decorators' has come to mean 'smothering your code in @ symbols' it's probably no longer a great name.
-
-
github.com github.com
-
-
// Rewrite submit function form.submit = () => { const result = originalSubmit.call(form)
-
- Sep 2020
-
github.com github.com
-
Does it look like a decorator plugin in Ractive, right
-
- Nov 2019
-
docs.silverstripe.org docs.silverstripe.org
-
Middleware works a lot like a decorator. It doesn't alter the original API of the service, but it can augment it with new features and concerns. This has the inherent advantage of allowing all thidparty code to have an influence over the behaviour, state, and UI of a component.
-