Jelajahi Sumber

TODO comments

Adam Shaw 8 tahun lalu
induk
melakukan
451feeeeeb
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/View.js

+ 2 - 2
src/View.js

@@ -334,7 +334,7 @@ var View = FC.View = InteractiveDateComponent.extend({
 
 
 	onBaseRender: function() {
-		this.applyScreenState();
+		this.applyScreenState(); // TODO: only call if hasHandlers
 		this.publiclyTrigger('viewRender', {
 			context: this,
 			args: [ this, this.el ]
@@ -343,7 +343,7 @@ var View = FC.View = InteractiveDateComponent.extend({
 
 
 	onBeforeBaseUnrender: function() {
-		this.applyScreenState();
+		this.applyScreenState(); // TODO: only call if hasHandlers
 		this.publiclyTrigger('viewDestroy', {
 			context: this,
 			args: [ this, this.el ]