Merge pull request #176 from jamescurran/master

Added file for jQuery.jNotify
This commit is contained in:
Boris Yankov
2013-01-14 09:12:07 -08:00
+29
View File
@@ -0,0 +1,29 @@
// Typescript type definitions for jQuery.jNotify v1 by Fabio Franzini
// Project: http://jnotify.codeplex.com
// Definitions by: James Curran <https://github.com/jamescurran/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
// To Use add line ///<reference path='jquery.jnotify.d.ts'/>
export interface JNotifyInitOptions
{
oneAtTime:bool;
appendType:string;
}
export interface JNotifyOptions
{
text?:string;
type?: string;
showIcon? : bool;
permanent?: bool;
disappearTime?: number;
}
interface JQuery
{
jnotifyInizialize(options?: JNotifyInitOptions ) ;
jnotifyAddMessage(options?: JNotifyOptions ) ;
}