Skip to content

@ismaelc /index.html
Last active

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Application initializes the Parse Javascript SDK and calls our Cloud Code "yodaSpeakFunction"
<!doctype html>
<head>
<title>My Parse App</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="http://www.parsecdn.com/js/parse-1.2.12.min.js"></script>
</head>
<body>
<script type="text/javascript">
// After installing the Parse SDK above, intialize it with your Parse application ID and key below
Parse.initialize("<Parse application ID>", "<Parse key>");
// Call the Cloud Code 'yodaSpeakFunction'
Parse.Cloud.run('yodaSpeakFunction', { sentence: "Hi there my name is Chris." }, {
success: function(result) {
// Show result as an alert
alert(result);
},
error: function(error) {
}
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.