Skip to content

Instantly share code, notes, and snippets.

@dericcrago
dericcrago / KinveyCollection.js
Created March 15, 2012 05:31 — forked from bhang/KinveyCollection.js
KinveyCollection
// Credentials for use with Kinvey
// NOTE: This example shows passing in the master secret.
// In a production environment, these credentials should be protected i.e.
// they should be requested from the user or secured via a login screen
var kinvey_app_key = 'kidxxxx';
var kinvey_secret = 'master secret';
// Define .ajax Defaults
$.ajaxSetup({
beforeSend: function(jqXHR) {