History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: PMT-108
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Jens Halm
Reporter: Nico Zimmermann
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Pimento - Cinnamon

Manual: Error in Example 3.5

Created: 07/Apr/08 02:20 PM   Updated: 29/Jan/09 11:21 PM
Component/s: Documentation
Affects Version/s: 0.2.0
Fix Version/s: 0.2.1


 Description  « Hide
    private function addInvocation (event:ServiceEvent) : void {
        if (counter == 0) {
            switchUI(false);
        }
            counter++;
        }
    }

 All   Comments   Change History      Sort Order:
Nico Zimmermann - 07/Apr/08 02:40 PM
Wrong Description... ist wasn't the missing else but an extra brace...

Implementation should be like this....

    private function addInvocation (event:ServiceEvent) : void {
        if (counter == 0) {
            switchUI(false);
        }
        counter++;
    }