Skip to content

Instantly share code, notes, and snippets.

@KirillKudaev
Created February 1, 2017 05:06
Show Gist options
  • Save KirillKudaev/b1bcc72166c2c878436fd8e9840ea61d to your computer and use it in GitHub Desktop.
Save KirillKudaev/b1bcc72166c2c878436fd8e9840ea61d to your computer and use it in GitHub Desktop.
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Untitled Document</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="https://npmcdn.com/parse/dist/parse.min.js"></script>
<script>
Parse.initialize("518e0dbca14e73748f81e550e12deea515ff959e");
Parse.serverURL = 'http://ec2-35-165-199-91.us-west-2.compute.amazonaws.com:80/parse';
var GameScore = Parse.Object.extend("GameScore");
var gameScore = new GameScore();
gameScore.save({playerName: "Kir"}).then(function(object) {
alert("yay! it worked");
});
</script>
</head>
<body>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment