Changeset 17713


Ignore:
Timestamp:
04/28/14 12:41:05 (11 years ago)
Author:
tbretz
Message:
Proc wasn't in the global namespace anymore.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/www/viewer/index.php

    r17700 r17713  
    237237    try
    238238    {
    239         $JS = "(function proc(pixel){\n".$_POST['source1']."\n})(".$pixel.");";
     239        $JS = "function proc(pixel){\n".$_POST['source1']."\n};proc(".$pixel.");";
    240240        $rc['waveform'] = $v8->executeString($JS, 'proc');
    241241
Note: See TracChangeset for help on using the changeset viewer.