Skip to content
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

Updating can-define/map documentation #382

Merged
merged 26 commits into from
Sep 4, 2018
Merged

Conversation

indifferentghost
Copy link
Contributor

Fixes a majority of issues in #378

can-define/map/map.html

  • codepen-able
  • import changed to can

map/KeysEvent.html

Needs:

  • codepen
  • ES6
  • Syntax Highlighting

map/PropertyNameEvent.html

Needs:

  • codepen
  • ES6
  • Syntax Highlighting

map/map.extend.html

  • Update to "can" import
  • Add working examples.

map/map.seal.html

Needs:

  • codepen

map/map.prototype.assign.html

Needs:

  • codepen
  • ES6

map/map.prototype.assignDeep.html

Needs:

  • codepen
  • ES6
  • example actually returns ["first", "2", "3"].

map/map.prototype.deleteKey.html

Needs:

  • codepen
  • ES6
  • Better elaboration that it doesn't delete the keys predefined by type because it would also have to delete those getter and setters on other instances. -- improved

map/map.prototype.forEach.html

Needs:

  • codepen
  • ES6
  • Syntax Highlighting

Discourse:

  • While this has a Use section it should probably elaborate further what the example is actually doing. -- improved

map/map.prototype.get.html

Needs:

  • codepen
  • ES6

map/map.prototype.serialize.html

Needs:

  • codepen
  • ES6

map/map.prototype.set.html

Needs:

  • Examples

map/map.prototype.update.html

Needs:

  • codepen
  • ES6

map/map.prototype.updateDeep.html

Needs:

  • codepen
  • ES6

map/map.prototype.wildcard.html

Needs:

  • Syntax Highlighting
  • ES6

} );
```
<!-- @codepen -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sure to note this in the PR.


const person = new DefineMap({name: "Justin"});

list.on("can.keys", (event) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

List is undefined, please make sure to run all examples.

@justinbmeyer
Copy link
Contributor

justinbmeyer commented Sep 2, 2018

Seal is checked off, but there was no codepen:

image

same with wildcard.

@indifferentghost indifferentghost merged commit 95f4739 into master Sep 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants