various dialog guis
info, error, warning, input, etc.
リビジョン | 4610ba7567a9b8b2580aa844a3873ccd38604201 (tree) |
---|---|
日時 | 2018-04-12 16:21:46 |
作者 | frostbane <frostbane@prog...> |
コミッター | frostbane |
fix comment
add an example how to change the dialog resource
@@ -1,6 +1,6 @@ | ||
1 | 1 | { |
2 | 2 | "name" : "micro-dialog", |
3 | - "version" : "v0.0.4", | |
3 | + "version" : "v0.0.5", | |
4 | 4 | "description" : "Stackable Dialog UI", |
5 | 5 | "repository" : { |
6 | 6 | "type": "hg", |
@@ -176,6 +176,9 @@ | ||
176 | 176 | |
177 | 177 | <script type="text/javascript"> |
178 | 178 | document.observe('dom:loaded', function(){ |
179 | + MicroDialog.resource.yes = "はい"; | |
180 | + MicroDialog.resource.no = "いいえ"; | |
181 | + | |
179 | 182 | new Draggable($("controls"), { |
180 | 183 | handle :$("handle"), |
181 | 184 | }); |
@@ -30,7 +30,7 @@ | ||
30 | 30 | |
31 | 31 | |
32 | 32 | Stackable Dialog UI |
33 | - Version 0.0.4 | |
33 | + Version 0.0.5 | |
34 | 34 | Copyright (c) 2015, 2016 Frostbane Ac |
35 | 35 | See LICENSE.md. |
36 | 36 | www.??.com |
@@ -531,7 +531,8 @@ | ||
531 | 531 | var __Prompt = (function(){ |
532 | 532 | /** |
533 | 533 | * @description |
534 | - * will reject even if resolveTimeout is set if the input is blank | |
534 | + * if a resolveTimeout occurs and the input is blank a reject will | |
535 | + * be returned, if the input is not blank the input will be resolved | |
535 | 536 | * |
536 | 537 | * @param options |
537 | 538 | * @returns {{promise, cancel: _cancel}} |