Skip to content

Commit

Permalink
Update reference paths
Browse files Browse the repository at this point in the history
  • Loading branch information
borisyankov committed Nov 18, 2012
1 parent 0244e7f commit 7c82efb
Show file tree
Hide file tree
Showing 56 changed files with 74 additions and 72 deletions.
2 changes: 1 addition & 1 deletion angularjs/angular-1.0.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Definitions: https://github.com/borisyankov/DefinitelyTyped


/// <reference path="jquery-1.8.d.ts" />
/// <reference path="../jquery/jquery-1.8.d.ts" />

declare var angular: ng.IAngularStatic;

Expand Down
2 changes: 1 addition & 1 deletion async/async-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/async-0.1.d.ts" />
/// <reference path="async-0.1.d.ts" />

var fs, path;

Expand Down
2 changes: 1 addition & 1 deletion backbone/backbone-0.9.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Definitions: https://github.com/borisyankov/DefinitelyTyped


/// <reference path="jquery-1.8.d.ts" />
/// <reference path="../jquery/jquery-1.8.d.ts" />

declare module Backbone {

Expand Down
2 changes: 1 addition & 1 deletion backbone/backbone-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/backbone-0.9.d.ts" />
/// <reference path="backbone-0.9.d.ts" />

declare var _, $;

Expand Down
3 changes: 2 additions & 1 deletion bootstrap/bootstrap-2.1.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped

/// <reference path="jquery-1.8.d.ts"/>

/// <reference path="../jquery/jquery-1.8.d.ts"/>

interface ModalOptions {
backdrop?: bool;
Expand Down
4 changes: 2 additions & 2 deletions bootstrap/bootstrap-tests.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference path="../Definitions/jquery-1.8.d.ts" />
/// <reference path="../Definitions/bootstrap-2.1.d.ts" />
/// <reference path="../jquery/jquery-1.8.d.ts" />
/// <reference path="bootstrap-2.1.d.ts" />

$('body').off('.data-api');
$('body').off('.alert.data-api');
Expand Down
2 changes: 1 addition & 1 deletion breeze/breeze-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/breeze-0.65.d.ts" />
/// <reference path="breeze-0.65.d.ts" />

function test_dataProperty() {
var lastNameProp = new DataProperty({
Expand Down
2 changes: 1 addition & 1 deletion chosen/chosen-0.9.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Definitions: https://github.com/borisyankov/DefinitelyTyped


/// <reference path="jquery-1.8.d.ts"/>
/// <reference path="../jquery/jquery-1.8.d.ts"/>

interface ChosenOptions {
allow_single_deselect?: bool;
Expand Down
2 changes: 1 addition & 1 deletion chosen/chosen-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/chosen-0.9.d.ts" />
/// <reference path="chosen-0.9.d.ts" />

$(".chzn-select").chosen({ no_results_text: "No results matched" });
$("#form_field").chosen().change();
Expand Down
2 changes: 1 addition & 1 deletion codemirror/codemirror-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/codemirror-3.0.d.ts" />
/// <reference path="codemirror-3.0.d.ts" />

var myCodeMirror = CodeMirror(document.body);

Expand Down
2 changes: 1 addition & 1 deletion easeljs/easeljs-0.5.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/


/// <reference path="tweenjs-0.3.d.ts" />
/// <reference path="../tweenjs/tweenjs-0.3.d.ts" />

// rename the native MouseEvent, to avoid conflit with createjs's MouseEvent
interface NativeMouseEvent extends MouseEvent {
Expand Down
2 changes: 1 addition & 1 deletion easeljs/easeljs-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/easeljs-0.5.d.ts" />
/// <reference path="easeljs-0.5.d.ts" />

function test_simple() {
var canvas = document.getElementById('canvas');
Expand Down
4 changes: 2 additions & 2 deletions ember/ember-tests.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference path="../Definitions/ember-1.0.d.ts" />
/// <reference path="../Definitions/handlebars-1.0.d.ts" />
/// <reference path="ember-1.0.d.ts" />
/// <reference path="handlebars-1.0.d.ts" />

var App;

Expand Down
2 changes: 1 addition & 1 deletion express/express-3.0.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ connect.session({})
*/

///<reference path='node-0.8.d.ts' />
///<reference path='../node/node-0.8.d.ts' />

// do not reference this. use module('express') instead
declare module _express {
Expand Down
2 changes: 1 addition & 1 deletion express/express-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/express-3.0.d.ts" />
/// <reference path="express-3.0.d.ts" />

declare var _, $;

Expand Down
4 changes: 2 additions & 2 deletions fancybox/fancybox-tests.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference path="../Definitions/jquery-1.8.d.ts" />
/// <reference path="../Definitions/fancybox-2.1.d.ts" />
/// <reference path="jquery-1.8.d.ts" />
/// <reference path="fancybox-2.1.d.ts" />

$('.fancybox').fancybox();
$('.fancybox').fancybox({
Expand Down
2 changes: 1 addition & 1 deletion globalize/globalize-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/globalize.d.ts" />
/// <reference path="globalize.d.ts" />

Globalize.culture("fr");
console.log(Globalize.culture().name);
Expand Down
2 changes: 1 addition & 1 deletion handlebars/handlebars-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/handlebars-1.0.d.ts" />
/// <reference path="handlebars-1.0.d.ts" />

var context = {
author: { firstName: "Alan", lastName: "Johnson" },
Expand Down
2 changes: 1 addition & 1 deletion history/history-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/history-1.7.d.ts" />
/// <reference path="history-1.7.d.ts" />

if (!History.enabled) {
return false;
Expand Down
2 changes: 1 addition & 1 deletion humane/humane-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/humane-3.0.d.ts" />
/// <reference path="humane-3.0.d.ts" />

humane.log("Welcome Back");
humane.log(["List","of","Items"]);
Expand Down
2 changes: 1 addition & 1 deletion impress/impress-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/impress-0.5.d.ts" />
/// <reference path="impress-0.5.d.ts" />

impress().init();

Expand Down
18 changes: 9 additions & 9 deletions jasmine/jasmine-1.2.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ declare module jasmine {
var Clock: Clock;

function any(aclass: any);
function createSpy(name: string): any;
function createSpy(name: string): any;
function createSpyObj(baseName: string, methodNames: any[]): any;

function getEnv(): Env;
Expand Down Expand Up @@ -230,16 +230,16 @@ declare module jasmine {
}

interface Spy {
identity: string;
calls: any[];
mostRecentCall: { args: any[]; };
argsForCall: any[];
wasCalled: bool;
identity: string;
calls: any[];
mostRecentCall: { args: any[]; };
argsForCall: any[];
wasCalled: bool;
callCount: number;

andReturn(value): void;
andCallThrough(): void;
andCallFake(fakeFunc: Function): void;
andReturn(value): void;
andCallThrough(): void;
andCallFake(fakeFunc: Function): void;
}

interface Suite {
Expand Down
2 changes: 1 addition & 1 deletion jasmine/jasmine-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/jasmine-1.2.d.ts" />
/// <reference path="jasmine-1.2.d.ts" />

describe("A suite", () => {
it("contains spec with an expectation", () => {
Expand Down
2 changes: 1 addition & 1 deletion jquery.dynatree/jquery.dynatree-1.2.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Definitions: https://github.com/borisyankov/DefinitelyTyped


/// <reference path="jquery-1.8.d.ts"/>
/// <reference path="../jquery/jquery-1.8.d.ts"/>

interface JQuery {
dynatree(options?: DynatreeOptions): DynaTree;
Expand Down
2 changes: 1 addition & 1 deletion jquery.validation/jquery.validation-1.10.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Definitions: https://github.com/borisyankov/DefinitelyTyped


/// <reference path="jquery-1.8.d.ts"/>
/// <reference path="../jquery/jquery-1.8.d.ts"/>

interface ValidationOptions {
debug?: bool;
Expand Down
4 changes: 2 additions & 2 deletions jquery.validation/jquery.validation-tests.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference path="../Definitions/jquery-1.8.d.ts"/>
/// <reference path="../Definitions/jquery.validation-1.10.d.ts" />
/// <reference path="jquery-1.8.d.ts"/>
/// <reference path="jquery.validation-1.10.d.ts" />

function test_validate() {
$("#commentForm").validate();
Expand Down
2 changes: 1 addition & 1 deletion jquery/jquery-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/jquery-1.8.d.ts" />
/// <reference path="jquery-1.8.d.ts" />

function test_add() {
$("p").add("div").addClass("widget");
Expand Down
2 changes: 1 addition & 1 deletion jquerymobile/jquerymobile-1.2.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Definitions: https://github.com/borisyankov/DefinitelyTyped


/// <reference path="jquery-1.8.d.ts"/>
/// <reference path="../jquery/jquery-1.8.d.ts"/>

interface JQueryMobileEvent { (event: Event, ui): void; }

Expand Down
4 changes: 2 additions & 2 deletions jquerymobile/jquerymobile-tests.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference path="../Definitions/jquery-1.8.d.ts" />
/// <reference path="../Definitions/jquerymobile-1.2.d.ts" />
/// <reference path="jquery-1.8.d.ts" />
/// <reference path="jquerymobile-1.2.d.ts" />

function test_api() {
$.mobile.changePage("about/us.html", { transition: "slideup" });
Expand Down
2 changes: 1 addition & 1 deletion jqueryui/jqueryui-1.9.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Definitions: https://github.com/borisyankov/DefinitelyTyped


/// <reference path="jquery-1.8.d.ts"/>
/// <reference path="../jquery/jquery-1.8.d.ts"/>


// Accordion //////////////////////////////////////////////////
Expand Down
4 changes: 2 additions & 2 deletions jqueryui/jqueryui-tests.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference path="../Definitions/jquery-1.8.d.ts" />
/// <reference path="../Definitions/jqueryui-1.9.d.ts" />
/// <reference path="jquery-1.8.d.ts" />
/// <reference path="jqueryui-1.9.d.ts" />

function test_draggable() {

Expand Down
5 changes: 3 additions & 2 deletions knockback/knockback-0.16.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference path="backbone-0.9.d.ts" />
/// <reference path="knockout-2.2.d.ts" />
/// <reference path="../backbone/backbone-0.9.d.ts" />
/// <reference path="../knockout/knockout-2.2.d.ts" />

declare module Knockback {
export interface EventWatcherOptions {
emitter: (newEmitter) => void;
Expand Down
1 change: 1 addition & 0 deletions knockout/knockout-2.2.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped


interface KnockoutSubscribableFunctions {
extend(source);
dispose(): void;
Expand Down
4 changes: 2 additions & 2 deletions knockout/knockout-tests.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference path="../Definitions/knockout-2.2.d.ts" />
/// <reference path="../Definitions/knockoutmapping-2.0.d.ts" />
/// <reference path="knockout-2.2.d.ts" />
/// <reference path="knockoutmapping-2.0.d.ts" />

declare var $;

Expand Down
4 changes: 2 additions & 2 deletions linq/linq-tests.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference path='../Definitions/jasmine-1.2.d.ts'/>
/// <reference path='../Definitions/linq-2.2.d.ts'/>
/// <reference path='../jasmine/jasmine-1.2.d.ts'/>
/// <reference path='linq-2.2.d.ts'/>
// <reference path="c:/linq.js" /> tests were run from VisualStudio + Resharper7

describe("Linq.js tests", function () {
Expand Down
1 change: 1 addition & 0 deletions modernizr/modernizr-2.6.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped


interface AudioBool {
ogg: bool;
mp3: bool;
Expand Down
2 changes: 1 addition & 1 deletion modernizr/modernizr-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/modernizr-2.6.d.ts" />
/// <reference path="modernizr-2.6.d.ts" />

declare var $: any;

Expand Down
2 changes: 1 addition & 1 deletion moment/moment-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/moment-1.7.d.ts" />
/// <reference path="moment-1.7.d.ts" />

moment().add('hours', 1).fromNow();

Expand Down
2 changes: 1 addition & 1 deletion msnodesql/msnodesql-0.2.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Definitions: https://github.com/borisyankov/DefinitelyTyped


///<reference path='node-0.8.d.ts' />
///<reference path='../node/node-0.8.d.ts' />

declare module "msnodesql" {
export function open(connectionString: string, callback: Function): Connection;
Expand Down
2 changes: 1 addition & 1 deletion msnodesql/msnodesql-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/msnodesql-0.2.d.ts" />
/// <reference path="msnodesql-0.2.d.ts" />

import sql = module('msnodesql');

Expand Down
2 changes: 1 addition & 1 deletion mustache/mustache-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/mustache-0.7.d.ts" />
/// <reference path="mustache-0.7.d.ts" />

var view = { title: "Joe", calc: function () { return 2 + 4; } };
var output = Mustache.render("{{title}} spends {{calc}}", view);
Expand Down
2 changes: 1 addition & 1 deletion node_redis/node_redis-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/node_redis-0.8.d.ts" />
/// <reference path="node_redis-0.8.d.ts" />

import redis = module('redis');

Expand Down
2 changes: 1 addition & 1 deletion phonegap/phonegap-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/phonegap-2.2.d.ts" />
/// <reference path="phonegap-2.2.d.ts" />

function test_accelerometer() {
var watchID = null;
Expand Down
2 changes: 1 addition & 1 deletion qunit/qunit-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/qunit-1.10.d.ts" />
/// <reference path="qunit-1.10.d.ts" />

QUnit.test("deepEqual test", function () {
var obj = { foo: "bar" };
Expand Down
2 changes: 1 addition & 1 deletion raphael/raphael-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/raphael-2.1.d.ts" />
/// <reference path="raphael-2.1.d.ts" />

var paper = Raphael(10, 50, 320, 200);
var circle = paper.circle(50, 40, 10);
Expand Down
2 changes: 1 addition & 1 deletion requirejs/require-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/require-2.1.d.ts" />
/// <reference path="require-2.1.d.ts" />

// this test does not actually reference amd module 'main.ts', create one yourself.

Expand Down
2 changes: 1 addition & 1 deletion sammyjs/sammyjs-0.7.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Definitions: https://github.com/borisyankov/DefinitelyTyped


/// <reference path="jquery-1.8.d.ts"/>
/// <reference path="../jquery/jquery-1.8.d.ts"/>

module Sammy {
export function (): Sammy.Application;
Expand Down
2 changes: 1 addition & 1 deletion sammyjs/sammyjs-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/sammyjs-0.7.d.ts" />
/// <reference path="sammyjs-0.7.d.ts" />

function test_general() {
var app = Sammy('#main', function () {
Expand Down
2 changes: 1 addition & 1 deletion signalr/signalr-1.0.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Definitions: https://github.com/borisyankov/DefinitelyTyped


/// <reference path="jquery-1.8.d.ts" />
/// <reference path="../jquery/jquery-1.8.d.ts" />

interface HubMethod {
(callback: (data: string) => void );
Expand Down
2 changes: 1 addition & 1 deletion signalr/signalr-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/signalr-1.0.d.ts" />
/// <reference path="signalr-1.0.d.ts" />

function test_client() {
var connection = $.connection('/echo');
Expand Down
2 changes: 1 addition & 1 deletion spin/spin-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../Definitions/spin-1.2.d.ts" />
/// <reference path="spin-1.2.d.ts" />

var spinner = new Spinner().spin();
target.appendChild(spinner.el);
Expand Down
Loading

0 comments on commit 7c82efb

Please sign in to comment.