Skip to content

Commit

Permalink
Prepare release 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbrand committed Feb 25, 2017
1 parent e878e69 commit 6c1ea47
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 1.0.0 (Unreleased)
## 1.0.0 (2017-02-25)

- Use lodash instead of underscore.
- Update pluggable.js to ES2015 syntax.
Expand Down
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,10 @@ watchjs: stamp-npm
.PHONY: dist
dist: lodash
$(BABEL) --source-maps --out-file=./dist/pluggable.js src/pluggable.js

.PHONY: release
release:
sed -i s/\"version\":\ \"[0-9]\.[0-9]\.[0-9]\"/\"version\":\ \"$(VERSION)\"/ package.json
sed -i "s/(Unreleased)/(`date +%Y-%m-%d`)/" CHANGES.md
make docs
make dist
7 changes: 5 additions & 2 deletions docs/pluggable.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ <h1>pluggable.js</h1>
}
},

<span class="hljs-attr">_extendObject</span>: <span class="hljs-function"><span class="hljs-keyword">function</span> (<span class="hljs-params">obj, attributes</span>) </span>{
_extendObject: <span class="hljs-function"><span class="hljs-keyword">function</span> (<span class="hljs-params">obj, attributes</span>) </span>{
<span class="hljs-keyword">if</span> (!obj.prototype.__super__) {
obj.prototype.__super__ = {};
obj.prototype.__super__[<span class="hljs-keyword">this</span>.name] = <span class="hljs-keyword">this</span>.plugged;
Expand Down Expand Up @@ -251,7 +251,7 @@ <h1>pluggable.js</h1>
});
},

<span class="hljs-attr">throwUndefinedDependencyError</span>: <span class="hljs-function"><span class="hljs-keyword">function</span> (<span class="hljs-params">msg</span>) </span>{
throwUndefinedDependencyError: <span class="hljs-function"><span class="hljs-keyword">function</span> (<span class="hljs-params">msg</span>) </span>{
<span class="hljs-keyword">if</span> (<span class="hljs-keyword">this</span>.plugged.strict_plugin_dependencies) {
<span class="hljs-keyword">throw</span> msg;
} <span class="hljs-keyword">else</span> {
Expand Down Expand Up @@ -418,6 +418,9 @@ <h1>pluggable.js</h1>
<span class="hljs-keyword">return</span> _.extend(object, ref);
}

<span class="hljs-keyword">export</span> {
enable
};
<span class="hljs-keyword">export</span> <span class="hljs-keyword">default</span> {
enable
};</pre></div></div>
Expand Down

0 comments on commit 6c1ea47

Please sign in to comment.