[ create a new paste ] login | about

Link: http://codepad.org/47lcz0um    [ raw code | output | fork ]

Python, pasted on Aug 11:
1
2
3
4
5
6
7
8
9
10
11
12
13
view->rootContext ()->setContextProperty ("mnemosyManager", mnemosyManager);
view->rootContext ()->setContextProperty ("test", "test");
view->setSource (SailfishApp::pathTo ("qml/harbour-mnemosy.qml"));

ApplicationWindow
{
    initialPage: mnemosyManager.authorized ? mainPage : authorizePage

    property string testable: {
        console.log ("argh", test)
        return test
    }
}


Output:
1
2
3
4
  Line 1
    view->rootContext ()->setContextProperty ("mnemosyManager", mnemosyManager);
         ^
SyntaxError: invalid syntax


Create a new paste based on this one


Comments: