There are two ways in life: the easy and the correct.
the easy:  use a space between ( and ( (  (file.sise) / (1024*1024) )
the correct: revision 1118, that don't delete ((unkown)). 

** Changed in: aikiframework
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Aiki
Framework Developers, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/944907

Title:
  The parser can misread double parens in JavaScript as Aiki variables

Status in Aiki Framework:
  Fix Released

Bug description:
  I've noticed affecting Aiki at least up to aiki 0.8.24.1099 or
  thereabout.

  I was using a JavaScript in a widget with the following line:

  currentStorage -= ((file.size)/(1024*1024));

  Which came out in Aki as:

  currentStorage -= ;

  meaning that the parser was thinking that everything between the (( ))
  was an Aiki variable, and since it didn't match any variables in
  memory, removed it.

  This broke the JavaScript.

To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/944907/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : aikiframework-devel@lists.launchpad.net
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to