We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to modern ES6 function definitions for the top-level functions. The newer notation is more compact and looks better.
There are about 20 functions to update (all in the dna.js file):
dna.clone()
dna.cloneSub()
dna.createTemplate()
dna.info()
For example, change:
clone: (name, data, options) => {
to:
clone(name, data, options) {
See line 29: https://github.com/dnajs/dna.js/blob/master/dna.js#L29
The text was updated successfully, but these errors were encountered:
Hi @dpilafian, can I work on this issue?
Sorry, something went wrong.
Merge pull request #90 from jlangdesign/master
4b341fe
Updated top-level functions to use ES6 method definition syntax #87
jlangdesign
No branches or pull requests
Upgrade to modern ES6 function definitions for the top-level functions. The newer notation is more compact and looks better.
There are about 20 functions to update (all in the dna.js file):
dna.clone()
dna.cloneSub()
dna.createTemplate()
dna.info()
For example, change:
to:
See line 29:
https://github.com/dnajs/dna.js/blob/master/dna.js#L29
The text was updated successfully, but these errors were encountered: