-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
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
Updated examples to can-define/list/list. #377
Conversation
…t was moved to prototype.get.md.
…t was moved to prototype.set.md.
…. It was moved to prototype.assign.md.
… es6 and added codepen link.
… also been updated for examples.
…yntax highlighting and updated to ES6 syntax. Example now links to codepen.
…lighting. Updated to ES6.
…nk to codepen. Syntax highlighting. Updated to ES6.
…x highlighting, are Codepenable and in ES6 syntax.
…ks to codepen, has syntax highlighting and uses ES6 syntax.
…6 syntax and linking to codepen.
…ghlighting, they're codepen-able.
…ated syntax to ES6, provided example for reduceRight.
…6 added syntax highlighting. Links to codepen.
…ing and corrected the comments.
…lighting, ES6 syntax.
…syntax highlighting and updated to ES6. changed IndexOf and lastIndexOf to double quotes to match the rest of the examples.
…ighting and es6. It's codepenable.
… highlighting and es6. It's codepenable.
…ntax and highlighting added. Examples are linked to codepen.
…e highlighted and using ES6 syntax. It's codepenable.
…lighted and ES6. It's codepenable. Updated example to better relate to similarities across the documentation.
Documentation Tweeks
…into 370-mapExamples
Made minor updates to spacing before branch was merged.
Went through the docs once more checking for possible issues: list.prototype.assign
remove
## list.prototype.concat.html
list.prototype.forEach.html
list.prototype.get.html
list.prototype.indexOf.html
list.prototype.join.html
list.prototype.push.html
list.prototype.reduceRight.html
list.prototype.reverse.html
list.prototype.slice.html
list.prototype.splice.html
list.prototype.updateDeep
|
list/docs/prototype.assign.md
Outdated
Assigns the properties on the list with `newProps`. Properties not present in `newProps` will be left unchanged. | ||
|
||
```js | ||
import { DefineList } from "can"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indent 2 spaces
list/docs/prototype.concat.md
Outdated
const result = list.concat( | ||
[1,2], | ||
new DefineList(["X","Y"]), | ||
{value: "Z"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's some spacing issues here
This is focused on documentation updates in regard to #370. It is moving DefineList documentation to their own markdown files, updating their syntax and having them link to codepen.
can-define/list/list.prototype.assign.html
can-define/list/list.prototype.assignDeep.html
can-define/list/list.prototype.concat.html
can-define/list/list.prototype.every.html
can-define/list/list.prototype.filter.html
can-define/list/list.prototype.forEach.html
can-define/list/list.prototype.get.html
can-define/list/list.prototype.indexOf.html
can-define/list/list.prototype.join.html
can-define/list/list.prototype.lastIndexOf.html
can-define/list/list.prototype.map.html
can-define/list/list.prototype.pop.html
can-define/list/list.prototype.push.html
can-define/list/list.prototype.reduce.html
can-define/list/list.prototype.reduceRight.html
reduce
.)can-define/list/list.prototype.replace.html
can-define/list/list.prototype.reverse.html
can-define/list/list.prototype.serialize.html
can-define/list/list.prototype.set.html
can-define/list/list.prototype.shift.html
can-define/list/list.prototype.slice.html
can-define/list/list.prototype.some.html
can-define/list/list.prototype.sort.html
can-define/list/list.prototype.splice.html
can-define/list/list.prototype.unshift.html
can-define/list/list.prototype.update.html
can-define/list/list.prototype.updateDeep.html