Definitions for jquery.clientSideLogging #218

This commit is contained in:
Diullei Gomes 2013-01-26 19:46:12 -02:00
parent 026932eeab
commit 14aa278bad
2 changed files with 7 additions and 7 deletions

View File

@ -1,12 +1,5 @@
///<reference path="jquery.clientSideLogging.d.ts" />
interface JQueryStatic {
info: (what?: any) => any;
error: (what?: any) => any;
log: (what?: any) => any;
clientSideLogging: (options: ClientSideLoggingObject) => any;
}
$.clientSideLogging({
log_level: 3,
client_info: {

View File

@ -22,3 +22,10 @@ interface ClientSideLoggingObject {
query_var?: string; // The variable to send the log message through as.
client_info?: ClientSideLoggingClientInfoObject; // Configuration for what info about the client's browser is logged.
}
interface JQueryStatic {
info: (what?: any) => any;
error: (what?: any) => any;
log: (what?: any) => any;
clientSideLogging: (options: ClientSideLoggingObject) => any;
}