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 customButtonsCreated = false, | |
addInfoLinks = function () { | |
"use strict"; | |
}; | |
$(document).ajaxComplete(function (event, xhr, settings) { | |
"use strict"; | |
console.log("document.ajaxComplete has fired: " + event + "; " + xhr + "; " + settings.url) | |
// If the main XMLHttpRequest has completed, update the window. |
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 accelFilter = function ( x, y, z ) { | |
//ramp-speed - play with this value until satisfied (value is a float number) | |
var kFilteringFactor = 0.1, | |
//last result storage - keep definition outside of this function, eg. in wrapping object (values are floats) | |
accel[3], | |
highPassFilter = function () { | |
//acceleration.x,.y,.z is the input from the sensor |
OlderNewer