Comparing version 0.3.2 to 0.3.3
{ | ||
"name": "staballoy", | ||
"description": "Reactive Library for binding data to UI elements in Titanium Alloy", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"main": "staballoy.js", | ||
@@ -6,0 +6,0 @@ "keywords": ["titanium","reactive","titanium-module"], |
@@ -226,2 +226,3 @@ # Staballoy | ||
## Changelog | ||
- **0.3.3** - (20180905) Fixed issue where creating empty controllers crashed the app | ||
- **0.3.0** - (20180711) Added 2-way binding and deep-binding. | ||
@@ -228,0 +229,0 @@ - **0.2.4** - (20171205) Add the ability to manual subscribe with a guid instead of a window. |
/** | ||
* Staballoy is created by Rene Pot (2017) | ||
* Version 0.2.4 -- 2017-12-05 | ||
* Version 0.3.3 -- 2018-09-05 | ||
* It extends alloy to add reactive components to Titanium. | ||
@@ -19,3 +19,2 @@ * The latest version can be found at Github: https://github.com/topener/staballoy | ||
var args = args || {}; | ||
if (Alloy.CFG.debug) console.log('creating controller in staballoy: ', name, args); | ||
@@ -30,2 +29,6 @@ | ||
var controller = new (requiredControllers[name])(args); | ||
// ignoring this controller as it has no xml elements | ||
if (!controller.getView()) return controller; | ||
controller.getView().guid = controllerGuid; | ||
@@ -32,0 +35,0 @@ |
Sorry, the diff of this file is not supported yet
20149
243
234