Created
July 7, 2015 23:12
-
-
Save mattdeboard/0366714f9521a5acec39 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var Shim = { | |
context: { | |
onLocationChanged: function() { | |
console.log("Location changed!"); | |
} | |
}, | |
activateDebugMode: function() { | |
console.log("Debug mode activated!"); | |
}, | |
ClientTracker: function(path, callback) { | |
console.log("ClientTracker instantiated with path: " + path); | |
callback.onLoaded(); | |
}, | |
ImageResource: function() { | |
console.log("ImageResource instantiated."); | |
}, | |
ImageDrawable: function() { | |
console.log("ImageDrawable instantiated."); | |
}, | |
Trackable2DObject: function() { | |
console.log("Trackable2DObject instantiated."); | |
}, | |
GeoLocation: function(lat, lon, altitude) { | |
console.log("GeoLocation instantiated with lat/lon/alt: " + [lat, lon, altitude].join()); | |
}, | |
GeoObject: function(markerLocation, config) { | |
console.log("GeoObject instantiated"); | |
}, | |
}; | |
module.exports = window.AR || Shim; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment