New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meteor : update to latest version 0.6 with blade #165
Comments
Apparently this issue is due to a new feature in Meteor : "We've added file-level JavaScript variable scoping. Variables declared with var at the outermost level of a JavaScript source file are now private to that file. Remove the var to share a value between files." In coffee files, il I write : "@Posts = new Meteor.Collection ..." I can access the collection. Exception from Deps afterFlush function: @http://0.0.0.0:3000/packages/blade/runtime-meteor.js?7c5904495c94aa75a5773b28d6e4671d29e90f23:45 The problems seems to be with the include in my foreach loop Still investigating ... |
Working if I copy from v3.0.3 and if the included files are : "../posts/post" |
I'm confused. What, exactly, is the problem here? |
with latest meteor-blade version Looks like #154 , include post exposing post in a foreach loop If i copy runtime-meteor.js and runtime.js from v3.0.3 (which solved #154 ) |
I cannot replicate this bug. Please post your Also, in - console.log("posts.blade info", __) and post the output of the console. |
Project visible at : git://github.com/vraptor75011/MeteorBladeBlog2.git Object Home
Bonjour <$label:ERdMPwr4hBzgKCo7i><$label:wikBe8LujoTGBD8sw><$data:ZFq8q3YozYKyKShQ5><$landmark:2qDDX44XrHajJSxCd><$events:7jrLPdxfxnMbHPzqg><$watch:kbHEj2tGMWqLhD6AT><$isolate:AfPStE8GPjGs23Lko><$events:f3GQtv5c9rD3Lhgth><$watch:dNz2vBYmFwytP9SNp> Nouveau Post <$label:K6EsdH6X4aWSxmjwt><$label:TtM2KrC5BativzPGi><$data:Dj8h8vRHXhoHfZ2RM><$landmark:65ZyAwo6osAN8Fe48><$events:YQwtmQ2KZkSRhzS3Z><$watch:borfjfs3SNFEDPpbG><$isolate:CskL3KiC9P76crges><$events:xiphTMC3QFZe29HLH><$watch:57tNApFGBuJop4ora><$label:Hqd2eg9DoBhN3k4y6><$label:J6bjsKesMXdhFSGTQ><$data:WmXd7wtx2q3Yz9wgj><$landmark:KM6BLtCWJQRaB22Ek><$events:r3nsm6ztnLgQDcmee><$watch:QhXH3nBDkhxTz8ifF><$isolate:jmktfiqSFqfoReSe8><$events:kxpBPiiYuYTDkvvfW><$watch:n3FHeSRYDno3SfpXB> New Post <$list:ypLku89pBpDtwomCn>Title Body <textarea placeholder="Type the post ..." id="body" rows="3"></textarea> Bouton Post |
I cannot replicate any bugs... probably because my Mongo DB is empty. Could you provide me with some sample values that I can load into the DB? Or, can you simplify this bug into a simple example that I can run and test? Thanks for your help. |
posts.json { "_id" : { "$oid" : "347a0a1a7406a503bddfadc2" }, "body" : "fffff", "createdAt" : { "$date" : 1365901868581 }, "nbComments" : 0, "submitted" : true, "title" : "lllll", "updatedAt" : "", "userId" : "virEdEdkfBwPyafNL" }
{ "_id" : { "$oid" : "3ed9cb73f31b9b4e73d0c800" }, "body" : "C est un post", "createdAt" : { "$date" : 1365325543823 }, "nbComments" : 0, "submitted" : true, "title" : "Post 1", "updatedAt" : "", "userId" : "C79gpCTDdbiiFqAjL" }
{ "_id" : { "$oid" : "9300f568be0d0c2f22c402a5" }, "body" : "zzzz", "createdAt" : { "$date" : 1365326283027 }, "nbComments" : 0, "submitted" : true, "title" : "zzzz", "updatedAt" : { "$date" : 1365326294798 }, "userId" : "C79gpCTDdbiiFqAjL" } I think it s the same issue as #154 Thanks for your help |
Was a bug in my code |
I did a mrt update and it appears to break the collection behavior.
It looks like the javascript files of the Meteor projects are loaded but not executed, excepted for those inside client/views.
Is it a bug with meteor-blade or with meteor ?
The text was updated successfully, but these errors were encountered: