Hey guys,
just to let you know: I had to port an ancient (!) amber project from 0.9.x to 0.14. FileIn from Workspace saved my life. I just needed to learn that this method ^ < js expression > is not valid anymore. The source directory needed to change completely. But that way I did experience what has changed in the last versions. It is hard to compare because the new stuff is soooo much better than the old one. And the deployment file is just 500MB including jquery that is feasible for a lot of projects. I have one error in the deployment file that I don't have in the devel mode. What is the best way to debug that? Can the deployment file be written non obfuscated? thanks for all the work, Norbert -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Norbert Hartl wrote: > Hey guys, > > just to let you know: I had to port an ancient (!) amber project from 0.9.x to 0.14. FileIn from Workspace saved my life. I just needed to learn that this > > method > ^< js expression> method <return js expression> Method must be either completely JS or completely ST. This shift happened somewhere around 0.11 or 0.12 IIRC. > > is not valid anymore. The source directory needed to change completely. But that way I did experience what has changed in the last versions. It is hard to compare because the new stuff is soooo much better than the old one. And the deployment file is just 500MB including jquery that is feasible for a lot of projects. > I have one error in the deployment file that I don't have in the devel mode. What is the best way to debug that? Can the deployment file be written non obfuscated? > > thanks for all the work, > > Norbert > -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by NorbertHartl
On 1/20/15, Norbert Hartl <[hidden email]> wrote:
> Hey guys, > > just to let you know: I had to port an ancient (!) amber project from 0.9.x > to 0.14. FileIn from Workspace saved my life. I just needed to learn that > this > > method > ^ < js expression > > > is not valid anymore. The source directory needed to change completely. But > that way I did experience what has changed in the last versions. It is hard > to compare because the new stuff is soooo much better than the old one. And > the deployment file is just 500MB including jquery that is feasible for a I assume you mean 500kB :-) > lot of projects. Exactly, a deployment 'the.js' file of only 0.5MB makes it feasible for a lot of projects .... --Hannes > I have one error in the deployment file that I don't have in the devel mode. > What is the best way to debug that? Can the deployment file be written non > obfuscated? > > thanks for all the work, > > Norbert > > -- > You received this message because you are subscribed to the Google Groups > "amber-lang" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [hidden email]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Yep, 500MB and the word feasible have hard times to match :) I like that jquery is combined along with the other sources. That is great because I'm building an application that works offline. But if this would be online is there a way to leave out jquery and have that included via url loaded from a cdn? Norbert
-- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Herby Vojčík
> Am 20.01.2015 um 20:03 schrieb Herby Vojčík <[hidden email]>: > > > > Norbert Hartl wrote: >> Hey guys, >> >> just to let you know: I had to port an ancient (!) amber project from 0.9.x to 0.14. FileIn from Workspace saved my life. I just needed to learn that this >> >> method >> ^< js expression> > > method > <return js expression> > > Method must be either completely JS or completely ST. > This shift happened somewhere around 0.11 or 0.12 IIRC. > Norbert >> >> is not valid anymore. The source directory needed to change completely. But that way I did experience what has changed in the last versions. It is hard to compare because the new stuff is soooo much better than the old one. And the deployment file is just 500MB including jquery that is feasible for a lot of projects. >> I have one error in the deployment file that I don't have in the devel mode. What is the best way to debug that? Can the deployment file be written non obfuscated? >> >> thanks for all the work, >> >> Norbert >> > > -- > You received this message because you are subscribed to the Google Groups "amber-lang" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by NorbertHartl
Norbert Hartl wrote: > > I like that jquery is combined along with the other sources. That is > great because I'm building an application that works offline. But if > this would be online is there a way to leave out jquery and have that > included via url loaded from a cdn? Not tried, but maybe having jquery.amd.json in your app root which includes the mapping not to file in disk but to cdn url could do the trick. It depends how are the precedence rules while building config.js in grunt devel. In the worst case, building config.js and packing deploy are two different subtasks (as you can see in Gruntfile.js in definition of 'deploy' task), so run first subtask to make config.js, edit it by hand to change jquery mapping to cdn url and the run the second subtask. > Norbert Herby -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |