You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Discourse:
Article is a stub, and doesn't include a Use section.
map.get(propName) should probably have an example that doesn't include undefined. Might be good to have a verbose example for get and in comparison of how it returns values.
.get(propName) only should be used when reading properties that might not have been defined yet, but will be later via [can-define/map/map.prototype.set].
There should be some elaboration on when to use get vs bracket/dot notation. I've been told the above is incorrect.
* updated example to es6 to prototype.assign.md
* Updated example to ES6 syntax. Added link to codepen.
* Updated examples, Added a use section hoping to elaborate what happens when deleteKey is called on a pre-defined property.
* Updated to ES6 syntax. Made codepen-able. Added some documentation to the Use section focused on returning false. Moved the initial example to the signature.
* Updated syntax and and added codepen link.
* updated to ES6. It now links to codepen.
* updateDeep is ES6. It now links to codepen.
* Changed from single to double quote to match other examples.
* added codepen example to the non deprecated use of set.
* get has es6 codepenable examples.
* Syntax, ES6 and link to codepen added. Commented on issue #378 for map/KeysEvent.html stating that events.keys.md is a stub.
* updated events.keys.md spacing
* events.propertyName.md updated example.
* updated syntax and linked to codepen. Also threw them down to a use section, though it might be suggested to change them to separate signatures.
* fixed spacing error in static.extend.md
* major updates to define-map.md documentation.
* added syntax highlighting and updated to es6 syntax for wildcard.
* working es6 codepen-able example on static.seal.md
* minor cleanup
* some additional fixes
* use any now for accepting any type
* updated assign and assignDeep to more mirror their counterparts in list/list.
* codepen updates across map.
* Updated and fixed spelling errors.
This is a continuation of issue #362 separated for can-define/map/map. It was separated to provide amiable and more accurate estimates.
can-define/map/map.html
map/KeysEvent.html
Needs:
Discourse:
map/PropertyNameEvent.html
Needs:
map/map.extend.html
"can"
importDiscourse:
map/map.seal.html
Needs:
Discourse:
map/map.prototype.assign.html
Needs:
Discourse:
map.assign(props)
is fairly descriptive.map/map.prototype.assignDeep.html
Needs:
["first", "2", "3"]
.map/map.prototype.deleteKey.html
Needs:
Discourse:
map/map.prototype.forEach.html
Needs:
Discourse:
map/map.prototype.get.html
Needs:
Discourse:
map/map.prototype.serialize.html
Needs:
Discourse:
map/map.prototype.set.html
Needs:
Discourse:
map/map.prototype.update.html
Needs:
map/map.prototype.updateDeep.html
Needs:
map/map.prototype.wildcard.html
Needs:
Discourse:
The text was updated successfully, but these errors were encountered: