• R/O
  • SSH

micro-dialog: コミット

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

変更サマリ

差分

diff -r f9a484addb64 -r 4610ba7567a9 package.json
--- a/package.json Thu Apr 12 16:03:01 2018 +0900
+++ b/package.json Thu Apr 12 16:21:46 2018 +0900
@@ -1,6 +1,6 @@
11 {
22 "name" : "micro-dialog",
3- "version" : "v0.0.4",
3+ "version" : "v0.0.5",
44 "description" : "Stackable Dialog UI",
55 "repository" : {
66 "type": "hg",
diff -r f9a484addb64 -r 4610ba7567a9 src/microdialog.html
--- a/src/microdialog.html Thu Apr 12 16:03:01 2018 +0900
+++ b/src/microdialog.html Thu Apr 12 16:21:46 2018 +0900
@@ -176,6 +176,9 @@
176176
177177 <script type="text/javascript">
178178 document.observe('dom:loaded', function(){
179+ MicroDialog.resource.yes = "はい";
180+ MicroDialog.resource.no = "いいえ";
181+
179182 new Draggable($("controls"), {
180183 handle :$("handle"),
181184 });
diff -r f9a484addb64 -r 4610ba7567a9 src/microdialog.js
--- a/src/microdialog.js Thu Apr 12 16:03:01 2018 +0900
+++ b/src/microdialog.js Thu Apr 12 16:21:46 2018 +0900
@@ -30,7 +30,7 @@
3030
3131
3232 Stackable Dialog UI
33- Version 0.0.4
33+ Version 0.0.5
3434 Copyright (c) 2015, 2016 Frostbane Ac
3535 See LICENSE.md.
3636 www.??.com
@@ -531,7 +531,8 @@
531531 var __Prompt = (function(){
532532 /**
533533 * @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
535536 *
536537 * @param options
537538 * @returns {{promise, cancel: _cancel}}
旧リポジトリブラウザで表示