Skip to content

Commit

Permalink
prepare for 3.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Apr 17, 2017
1 parent 6b494a1 commit 5dab9b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ Internal properties are:

- `this._proxy`: proxy element that's returned on subsequent
`render()` calls that don't pass the `._update()` check.
- `this._isProxied`: used to keep track if the proxy element has been created or not.
- `this._element`: rendered element that should be returned from the
`._render()` call.
`._render()` call. This is a DOM pointer to the DOM node in the live DOM tree that you actually see and interact with.
- `this._hasWindow`: boolean if `window` exists. Can be used to create
elements that render both in the browser and in Node.
- `this._args`: a reference to the arguments array that was used during the last `_render()` call.
Expand Down
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ CacheElement.prototype.render = function () {
return this._proxy
}
} else {
// CAPTURE THE FIRST RENDER. THIS IS BASICALLY A DOM POINTER.
// IF YOUR SUBSEQUENT RENDERS SNEAK ONTO THIS PROPERTY, YOU
// WILL END UP RENDERING PROXY NODES.
this._element = this._render.apply(this, args)
this._args = args
return this._element
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cache-component",
"version": "3.0.0-3",
"version": "3.0.0",
"description": "Cache bel components",
"main": "index.js",
"scripts": {
Expand All @@ -21,8 +21,7 @@
"element",
"thunk",
"cache",
"perf",
"cache"
"perf"
],
"author": "Bret Comnes",
"license": "MIT",
Expand Down

0 comments on commit 5dab9b1

Please sign in to comment.