mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
Update reference paths
This commit is contained in:
@@ -1,50 +1,50 @@
|
||||
/// <reference path='../jquery/jquery-1.9.d.ts'/>
|
||||
/// <reference path='jquery.jnotify-1.0.d.ts'/>
|
||||
|
||||
$(document).ready(function () {
|
||||
$('#StatusBar').jnotifyInizialize({
|
||||
oneAtTime: true
|
||||
});
|
||||
$('#Notification')
|
||||
.jnotifyInizialize({
|
||||
oneAtTime: false,
|
||||
appendType: 'append'
|
||||
})
|
||||
.css({
|
||||
'position': 'absolute',
|
||||
'marginTop': '20px',
|
||||
'right': '20px',
|
||||
'width': '250px',
|
||||
'z-index': '9999'
|
||||
});
|
||||
$('#addStatusBarMessage').click(function () {
|
||||
$('#StatusBar').jnotifyAddMessage({
|
||||
text: 'This is a non permanent message.',
|
||||
permanent: false,
|
||||
showIcon: false
|
||||
});
|
||||
});
|
||||
|
||||
$('#addStatusBarError').click(function () {
|
||||
$('#StatusBar').jnotifyAddMessage({
|
||||
text: 'This is a permanent error.',
|
||||
permanent: true,
|
||||
type: 'error'
|
||||
});
|
||||
});
|
||||
|
||||
$('#addNotificationMessage').click(function () {
|
||||
$('#Notification').jnotifyAddMessage({
|
||||
text: 'This is a non permanent message.',
|
||||
permanent: false
|
||||
});
|
||||
});
|
||||
|
||||
$('#addNotificationError').click(function () {
|
||||
$('#Notification').jnotifyAddMessage({
|
||||
text: 'This is a permanent error.',
|
||||
permanent: true,
|
||||
type: 'error'
|
||||
});
|
||||
});
|
||||
/// <reference path='../jquery/jquery.d.ts'/>
|
||||
/// <reference path='jquery.jnotify.d.ts'/>
|
||||
|
||||
$(document).ready(function () {
|
||||
$('#StatusBar').jnotifyInizialize({
|
||||
oneAtTime: true
|
||||
});
|
||||
$('#Notification')
|
||||
.jnotifyInizialize({
|
||||
oneAtTime: false,
|
||||
appendType: 'append'
|
||||
})
|
||||
.css({
|
||||
'position': 'absolute',
|
||||
'marginTop': '20px',
|
||||
'right': '20px',
|
||||
'width': '250px',
|
||||
'z-index': '9999'
|
||||
});
|
||||
$('#addStatusBarMessage').click(function () {
|
||||
$('#StatusBar').jnotifyAddMessage({
|
||||
text: 'This is a non permanent message.',
|
||||
permanent: false,
|
||||
showIcon: false
|
||||
});
|
||||
});
|
||||
|
||||
$('#addStatusBarError').click(function () {
|
||||
$('#StatusBar').jnotifyAddMessage({
|
||||
text: 'This is a permanent error.',
|
||||
permanent: true,
|
||||
type: 'error'
|
||||
});
|
||||
});
|
||||
|
||||
$('#addNotificationMessage').click(function () {
|
||||
$('#Notification').jnotifyAddMessage({
|
||||
text: 'This is a non permanent message.',
|
||||
permanent: false
|
||||
});
|
||||
});
|
||||
|
||||
$('#addNotificationError').click(function () {
|
||||
$('#Notification').jnotifyAddMessage({
|
||||
text: 'This is a permanent error.',
|
||||
permanent: true,
|
||||
type: 'error'
|
||||
});
|
||||
});
|
||||
});
|
||||
2
jquery.jnotify/jquery.jnotify.d.ts
vendored
2
jquery.jnotify/jquery.jnotify.d.ts
vendored
@@ -4,7 +4,7 @@
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
|
||||
/// <reference path='../jquery/jquery-1.9.d.ts'/>
|
||||
/// <reference path='../jquery/jquery.d.ts'/>
|
||||
|
||||
interface JNotifyInitOptions {
|
||||
oneAtTime?: bool;
|
||||
|
||||
Reference in New Issue
Block a user