git://repos.xcallymotion.com
/
motion2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Built motion from commit (unavailable).|2.5.2
[motion2.git]
/
apidoc
/
utils
/
handlebars_helper.js
diff --git
a/apidoc/utils/handlebars_helper.js
b/apidoc/utils/handlebars_helper.js
index
a86733f
..
14a57fc
100644
(file)
--- a/
apidoc/utils/handlebars_helper.js
+++ b/
apidoc/utils/handlebars_helper.js
@@
-22,6
+22,16
@@
define([
});
/**
+ * set paramater type.
+ */
+ Handlebars.registerHelper("setInputType", function(text) {
+ if (text === "File") {
+ return "file";
+ }
+ return "text";
+ });
+
+ /**
* start/stop timer for simple performance check.
*/
var timer;