{:uriI"file:///Users/joel/src/revelry_core/test/dummy/app/assets/javascripts/components/Test.js.cjsx?type=application/javascript&pipeline=self&id=e775a6d830ab0d240d3b1661f5f5d5f3d67e3d6c5185b51d02d4846725d6c355:ET:load_pathI"C/Users/joel/src/revelry_core/test/dummy/app/assets/javascripts;F: filenameI"[/Users/joel/src/revelry_core/test/dummy/app/assets/javascripts/components/Test.js.cjsx;T: nameI"components/Test;T:logical_pathI"components/Test.self.js;T:content_typeI"application/javascript;T: sourceI" (function() { var LazyConversation, LazyMessage; Rev.pullInto(this)('Input', 'Textarea', 'Button'); LazyMessage = Rev.appComponent('LazyMessage', { mixins: [Rev.Mixins.BackboneStore], render: function() { return this.store.prepare({ collection: "messages", model: this.props.id, onWait: (function(_this) { return function() { return React.createElement("li", null, "Loading message..."); }; })(this), onSuccess: (function(_this) { return function(message) { return _this.store.prepare({ collection: "users", model: message.get("user_id"), onWait: function() { return React.createElement("li", null, "Message is loaded. Loading user..."); }, onSuccess: function(user) { return React.createElement("li", null, (user.get('name')) + " says: \"" + (message.get('body')) + "\""); }, onError: function() { return React.createElement("li", null, "FAILED."); } }); }; })(this) }); } }); LazyConversation = Rev.appComponent('LazyConversation', { mixins: [Rev.Mixins.BackboneStore], render: function() { return this.store.prepare({ collection: "conversations", model: this.props.id, onWait: (function(_this) { return function() { return React.createElement("div", null, "LOADING CONVERSATION..."); }; })(this), onSuccess: (function(_this) { return function(conversation) { return React.createElement("ul", null, conversation.get("message_ids").map(function(id) { return React.createElement(LazyMessage, { "key": id, "id": id }); })); }; })(this) }); } }); Rev.appComponent('Test', { mixins: [App.Mixins.Test, Rev.Mixins.BackboneStore], render: function() { return React.createElement("div", null, React.createElement("div", null, this.props.propFromTestMixin), React.createElement(LazyConversation, { "id": 1. }), React.createElement("button", { "onClick": this.onClickRerender }, "Re-render.")); }, onClickRerender: function() { return this.forceUpdate(); } }); }).call(this); ;T: metadata{ :dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"hprocessors:type=application/javascript&file_type=application/javascript&engines=.cjsx&pipeline=self;TTI"ifile-digest:///Users/joel/src/revelry_core/test/dummy/app/assets/javascripts/components/Test.js.cjsx;TT: requiredo;;{: stubbedo;;{: linkso;;{: charsetI" utf-8;F: digest"%=^[cuq_\ }p`o: lengthi :integrityI"Xni:///sha-256;8z2ZXpaRW4pjdX-acbmO3ufcy19c8N_GDeB9qXC7YG8?ct=application/javascript;T:dependencies_digest"%՟3Yx.w zr_שpMX'9