Skip to content

Commit

Permalink
Update ReactTitaniumBridge.js
Browse files Browse the repository at this point in the history
disabled options because implementation was too naive. sorry.
  • Loading branch information
Sophrinix committed Jul 30, 2015
1 parent 87b27c2 commit 23dd789
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/ReactTitaniumBridge.js
Expand Up @@ -126,13 +126,15 @@ register("switch", "Titanium.UI.Switch", {
return Titanium.UI.createSwitch(props);
}
});
/* this is too naive
we must also support options, option, and buttonNames
register("optiondialog", "Titanium.UI.OptionDialog", {
factory: function factory(props) {
return Titanium.UI.createOptionDialog(props);
}
});

*/
register("slider", "Titanium.UI.Slider", {
factory: function factory(props) {
return Titanium.UI.createSlider(props);
Expand Down

0 comments on commit 23dd789

Please sign in to comment.