Public bug reported:

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.

** Affects: aikiframework
     Importance: Undecided
         Status: New

** Description changed:

  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 -=
+ 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 JavasScript.
+ This broke the JavaScript.

-- 
You received this bug notification because you are a member of Aiki
Framework Admins, 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:
  New

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.admins
Post to     : aikiframework.admins@lists.launchpad.net
Unsubscribe : https://launchpad.net/~aikiframework.admins
More help   : https://help.launchpad.net/ListHelp

Reply via email to