Update reference paths

This commit is contained in:
Boris Yankov
2013-01-17 20:03:30 +02:00
parent a427049e18
commit 209d95071a
90 changed files with 928 additions and 925 deletions

View File

@@ -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'
});
});
});

View File

@@ -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;