This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.write=function(s){ | |
var scripts = document.getElementsByTagName('script'); | |
var lastScript = scripts[scripts.length-1]; | |
//alert("loading: " + scriptName); | |
lastScript.insertAdjacentHTML("beforebegin", s); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<view xmlns="http://asyncode.com/View" | |
xmlns:mg="http://asyncode.com/Mongo" | |
xmlns:op="http://asyncode.com/Interpreter" | |
inherits="_super_"> | |
<set name="pageName">Getting started with Clouder</set> | |
<set name="body" before="layout"> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print "Hello World!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
This is the default file visible at <your-project-name>.asyncode.com/ | |
File location: <your-project-folder>/frontend/fragments/default.html | |
--> | |
<div id="myPart">Nothing here yet!</div> | |
<a href="/hello" ac-target="#myPart" ac-datasource="/myData">Load hello</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def a(): | |
print 4 | |
x={ | |
"method":a | |
} | |
x["method"]() | |
# >>> 4 |