Permalink
Browse files

Added fallback guards to the component code.

  • Loading branch information...
1 parent 6c9f674 commit 67faefe72bebc29e28b69ada2e6ab9645c1c74d5 @dglazkov committed Mar 22, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 samples/tabs/tabs-component.html
View
4 samples/tabs/tabs-component.html
@@ -143,6 +143,8 @@
</template>
<script>
+ if (this !== window) {
+
this.lifecycle({
created: function(root) {
this.root = root;
@@ -231,6 +233,8 @@
}
}
+ }
+
</script>
</element>
</body>

0 comments on commit 67faefe

Please sign in to comment.