Quick logical shortcut

This commit is contained in:
Max Lynch
2013-10-01 21:46:51 -05:00
parent 66c515adc1
commit 7a2ef77fa7

View File

@ -9,7 +9,7 @@
},
init: function(el) {
if(el) {
if(!el) { return; }
// check if we've already created a Toggle instance for this element
if(!el.component) {
@ -31,7 +31,6 @@
return el.component;
}
}
});