mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Update reference paths
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/// <reference path="../Definitions/async-0.1.d.ts" />
|
||||
/// <reference path="async-0.1.d.ts" />
|
||||
|
||||
var fs, path;
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -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 {
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/// <reference path="../Definitions/backbone-0.9.d.ts" />
|
||||
/// <reference path="backbone-0.9.d.ts" />
|
||||
|
||||
declare var _, $;
|
||||
|
||||
|
||||
Vendored
+2
-1
@@ -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;
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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({
|
||||
|
||||
Vendored
+1
-1
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/// <reference path="../Definitions/codemirror-3.0.d.ts" />
|
||||
/// <reference path="codemirror-3.0.d.ts" />
|
||||
|
||||
var myCodeMirror = CodeMirror(document.body);
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -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 {
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -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 {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/// <reference path="../Definitions/express-3.0.d.ts" />
|
||||
/// <reference path="express-3.0.d.ts" />
|
||||
|
||||
declare var _, $;
|
||||
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/// <reference path="../Definitions/globalize.d.ts" />
|
||||
/// <reference path="globalize.d.ts" />
|
||||
|
||||
Globalize.culture("fr");
|
||||
console.log(Globalize.culture().name);
|
||||
|
||||
@@ -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" },
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/// <reference path="../Definitions/history-1.7.d.ts" />
|
||||
/// <reference path="history-1.7.d.ts" />
|
||||
|
||||
if (!History.enabled) {
|
||||
return false;
|
||||
|
||||
@@ -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"]);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/// <reference path="../Definitions/impress-0.5.d.ts" />
|
||||
/// <reference path="impress-0.5.d.ts" />
|
||||
|
||||
impress().init();
|
||||
|
||||
|
||||
Vendored
+9
-9
@@ -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;
|
||||
@@ -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 {
|
||||
|
||||
@@ -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", () => {
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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");
|
||||
|
||||
Vendored
+1
-1
@@ -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; }
|
||||
|
||||
|
||||
@@ -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" });
|
||||
|
||||
Vendored
+1
-1
@@ -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 //////////////////////////////////////////////////
|
||||
|
||||
@@ -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() {
|
||||
|
||||
|
||||
Vendored
+3
-2
@@ -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;
|
||||
|
||||
Vendored
+1
@@ -3,6 +3,7 @@
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
|
||||
interface KnockoutSubscribableFunctions {
|
||||
extend(source);
|
||||
dispose(): void;
|
||||
|
||||
@@ -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 $;
|
||||
|
||||
|
||||
+2
-2
@@ -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 () {
|
||||
|
||||
Vendored
+1
@@ -3,6 +3,7 @@
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
|
||||
interface AudioBool {
|
||||
ogg: bool;
|
||||
mp3: bool;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/// <reference path="../Definitions/modernizr-2.6.d.ts" />
|
||||
/// <reference path="modernizr-2.6.d.ts" />
|
||||
|
||||
declare var $: any;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/// <reference path="../Definitions/moment-1.7.d.ts" />
|
||||
/// <reference path="moment-1.7.d.ts" />
|
||||
|
||||
moment().add('hours', 1).fromNow();
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -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;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/// <reference path="../Definitions/msnodesql-0.2.d.ts" />
|
||||
/// <reference path="msnodesql-0.2.d.ts" />
|
||||
|
||||
import sql = module('msnodesql');
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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');
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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" };
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -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;
|
||||
|
||||
@@ -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 () {
|
||||
|
||||
Vendored
+1
-1
@@ -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 );
|
||||
|
||||
@@ -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');
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
Vendored
-2
@@ -18,8 +18,6 @@
|
||||
*/
|
||||
|
||||
|
||||
/// <reference path="lib.d.ts" />
|
||||
|
||||
module Tee {
|
||||
|
||||
interface IPoint {
|
||||
|
||||
Vendored
+1
-1
@@ -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 ToastrOptions {
|
||||
tapToDismiss?: bool;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/// <reference path="../Definitions/toastr-1.0.d.ts" />
|
||||
/// <reference path="toastr-1.0.d.ts" />
|
||||
|
||||
function test_basic() {
|
||||
toastr.info('Are you the 6 fingered man?');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/// <reference path="../Definitions/underscore-1.4.d.ts" />
|
||||
/// <reference path="underscore-1.4.d.ts" />
|
||||
|
||||
declare var $;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/// <reference path="../Definitions/unity-webapi-1.0.d.ts" />
|
||||
/// <reference path="unity-webapi-1.0.d.ts" />
|
||||
|
||||
var Unity = external.getUnityObject(1.0);
|
||||
var settings = new UnitySettings();
|
||||
|
||||
Reference in New Issue
Block a user