Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Legokichi Duckscallion committed May 22, 2015
1 parent 5d88b76 commit ec84081
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v0.1.6

- Shell#getPNGFromDirectoryのバグを修正

## v0.1.5

- Scope#surfaceのバグを修正
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cuttlebone",
"version": "0.1.5",
"version": "0.1.6",
"description": "ukagaka shell renderer for web browser",
"license": "MIT",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion lib/cuttlebone.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cuttlebone",
"version": "0.1.5",
"version": "0.1.6",
"description": "ukagaka shell renderer for web browser",
"url": "https://github.com/ikagaka/cuttlebone.js",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/Shell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ module cuttlebone {
if(!this.hasFile(filename)){
filename += ".png";
if(!this.hasFile(filename)){
throw new Error("no such file in directory: " + filename.replace(/\.png$/i, ""));
return Promise.reject(new Error("no such file in directory: " + filename.replace(/\.png$/i, "")));
}
console.warn("element file " + filename + " need '.png' extension");
}
Expand Down

0 comments on commit ec84081

Please sign in to comment.