src/JsRender/Roo.vala
authorAlan Knowles <alan@roojs.com>
Tue, 3 Mar 2015 07:05:31 +0000 (15:05 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 3 Mar 2015 07:05:31 +0000 (15:05 +0800)
src/JsRender/Roo.vala

index 5f04aec..b2f11ce 100644 (file)
@@ -320,8 +320,9 @@ namespace JsRender {
                // the to use it it would do String.format(this._message, somedata);
                
                // loop through and find string starting with '_' 
-               
-               
+               if (node == null) {
+                       return;
+               }               
                
                var iter = node.props.map_iterator();
                while (iter.next()) {