mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 21:40:21 +00:00
Remove invalid references
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
|
||||
/// <reference path="PayPal-Cordova-Plugin.d.ts"/>
|
||||
|
||||
var item: PayPalItem;
|
||||
item = new PayPalItem("name", 10, "25.00", "USD");
|
||||
item = new PayPalItem("name", 10, "25.00", "USD", null);
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/// <reference path="accounting.d.ts"/>
|
||||
|
||||
// formatMoney
|
||||
// formatMoney
|
||||
|
||||
// Default usage:
|
||||
accounting.formatMoney(12345678); // $12,345,678.00
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
/**
|
||||
* Created by shearerbeard on 6/28/15.
|
||||
*/
|
||||
///<reference path="alt.d.ts"/>
|
||||
|
||||
import Alt = require("alt");
|
||||
|
||||
//New alt instance
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/// <reference path='angular-cookie.d.ts' />
|
||||
|
||||
angular.module('myApp', ['ipCookie'])
|
||||
.controller('cookieController', ['ipCookie', function(ipCookie: angular.cookie.CookieService) {
|
||||
ipCookie('key', 'value');
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
|
||||
/// <reference path='angular-dynamic-locale.d.ts' />
|
||||
|
||||
var app = angular.module('testModule', ['tmh.dynamicLocale']);
|
||||
app.config((localStorageServiceProvider: angular.dynamicLocale.tmhDynamicLocaleProvider) => {
|
||||
localStorageServiceProvider
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
|
||||
/// <reference path='angular-local-storage.d.ts' />
|
||||
|
||||
interface TestScope extends ng.IScope {
|
||||
submit: (key: string, value: string) => boolean;
|
||||
getItem: (key: string) => string;
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
|
||||
/// <reference path='angular-locker.d.ts' />
|
||||
|
||||
angular
|
||||
.module('angular-locker-tests', ['angular-locker'])
|
||||
.config(['lockerProvider', function config(lockerProvider: angular.locker.ILockerProvider) {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/// <reference path='angular-signalr-hub.d.ts' />
|
||||
|
||||
angular
|
||||
.module('app', ['SignalR'])
|
||||
.factory('Employees', ngSignalrTest.EmployeesFactory);
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/// <reference path='angular-storage.d.ts' />
|
||||
|
||||
// Samples taken from the a0-angular-storage Readme.md
|
||||
|
||||
var app = angular.module('angular-storage-tests', ['angular-storage']);
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/// <reference types="angularjs"/>
|
||||
/// <reference path="./angular-strap.d.ts"/>
|
||||
|
||||
namespace angularStrapTests {
|
||||
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
|
||||
/// <reference path='angular-toastr.d.ts' />
|
||||
|
||||
|
||||
angular
|
||||
.module('toastr-tests', ['toastr'])
|
||||
.config(function(toastrConfig: angular.toastr.IToastrConfig) {
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
/// <reference types="jasmine" />
|
||||
/// <reference types="angularjs" />
|
||||
/// <reference types="angular-mocks" />
|
||||
|
||||
|
||||
|
||||
// test file taken from https://github.com/mgonto/angular-wizard
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/// <reference path="angularfire.d.ts"/>
|
||||
|
||||
var myapp = angular.module("myapp", ["firebase"]);
|
||||
|
||||
interface AngularFireScope extends ng.IScope {
|
||||
|
||||
Vendored
+1
@@ -3,6 +3,7 @@
|
||||
// Definitions by: Diego Vilar <http://github.com/diegovilar>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="angular-mocks.d.ts" />
|
||||
|
||||
/// <reference types="jquery" />
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// Project: https://github.com/MikeMcl/big.js/
|
||||
// Definitions by: Steve Ognibene <https://github.com/nycdotnet/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
///<reference path="big.js.d.ts" />
|
||||
|
||||
/*
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/// <reference path="bigscreen.d.ts"/>
|
||||
|
||||
import BigScreen = require("bigscreen");
|
||||
|
||||
BigScreen.onchange = function(element: Element) {
|
||||
|
||||
-2
@@ -3,8 +3,6 @@
|
||||
// Definitions by: Eric Todd <https://github.com/ericrtodd>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="bingmaps.d.ts"/>
|
||||
|
||||
declare namespace Microsoft.Maps.AdvancedShapes {
|
||||
|
||||
export class EntityCollection {
|
||||
|
||||
-2
@@ -3,8 +3,6 @@
|
||||
// Definitions by: Eric Todd <https://github.com/ericrtodd>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="bingmaps.d.ts"/>
|
||||
|
||||
declare namespace Microsoft.Maps.Directions {
|
||||
|
||||
export interface BusinessDetails {
|
||||
|
||||
Vendored
-2
@@ -3,8 +3,6 @@
|
||||
// Definitions by: Eric Todd <https://github.com/ericrtodd>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="bingmaps.d.ts"/>
|
||||
|
||||
declare namespace Microsoft.Maps.Search {
|
||||
|
||||
export interface Address {
|
||||
|
||||
Vendored
-2
@@ -3,8 +3,6 @@
|
||||
// Definitions by: Eric Todd <https://github.com/ericrtodd>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="bingmaps.d.ts"/>
|
||||
|
||||
declare namespace Microsoft.Maps.Traffic {
|
||||
|
||||
export class TrafficManager {
|
||||
|
||||
-2
@@ -3,8 +3,6 @@
|
||||
// Definitions by: Eric Todd <https://github.com/ericrtodd>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="bingmaps.d.ts"/>
|
||||
|
||||
declare namespace Microsoft.Maps.VenueMaps {
|
||||
|
||||
export interface MouseResponse {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/// <reference path="bingmaps.d.ts"/>
|
||||
/// <reference path="Microsoft.Maps.AdvancedShapes.d.ts"/>
|
||||
/// <reference path="Microsoft.Maps.AdvancedShapes.d.ts"/>
|
||||
/// <reference path="Microsoft.Maps.Directions.d.ts"/>
|
||||
/// <reference path="Microsoft.Maps.Search.d.ts"/>
|
||||
/// <reference path="Microsoft.Maps.Themes.BingTheme.d.ts"/>
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/// <reference path='bip21.d.ts' />
|
||||
|
||||
let decoded:any = bip21.decode('bitcoin:1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH?amount=20.3&label=Foobar');
|
||||
|
||||
let encoded:string = bip21.encode('1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH', {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
///<reference path="blissfuljs.d.ts" />
|
||||
|
||||
function test_overview() {
|
||||
/*Bliss includes several static methods (on the Bliss or $ object). For example, to copy all properties of an object onto another object, you would
|
||||
call $.extend():*/
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
///<reference path="bluebird.d.ts"/>
|
||||
|
||||
// Tests by: Bart van der Schoor <https://github.com/Bartvds>
|
||||
|
||||
// Note: replicate changes to all overloads in both definition and test file
|
||||
|
||||
Vendored
+1
-1
@@ -4,7 +4,7 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="bluebird" />
|
||||
/// <reference types="lodash-3.10" />
|
||||
/// <reference types="lodash" />
|
||||
|
||||
declare module 'bookshelf' {
|
||||
import knex = require('knex');
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/// <reference types="jquery"/>
|
||||
/// <reference path="bootpag.d.ts"/>
|
||||
|
||||
var pagerSelector = ".bootpager";
|
||||
var $pager = $(pagerSelector);
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/// <reference path="bootstrap-maxlength.d.ts"/>
|
||||
/// <reference types="jquery"/>
|
||||
|
||||
// Examples from the projects github page
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/// <reference path="bootstrap.datepicker.d.ts"/>
|
||||
|
||||
function tests_simple() {
|
||||
function tests_simple() {
|
||||
$('#datepicker').datepicker();
|
||||
$('#datepicker').datepicker({
|
||||
format: 'mm-dd-yyyy'
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/// <reference path="bucks.d.ts"/>
|
||||
|
||||
function add_and_end() {
|
||||
//
|
||||
// new Bucks object
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
* Created by Bruno Grieder
|
||||
*/
|
||||
|
||||
///<reference path="./bull.d.ts" />
|
||||
|
||||
|
||||
import * as Queue from "bull"
|
||||
|
||||
var videoQueue = Queue( 'video transcoding', 6379, '127.0.0.1' );
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Matthew Kimber <https://github.com/matthewkimber>, otiai10 <https://github.com/otiai10>, couven92 <https://github.com/couven92>, RReverser <https://github.com/rreverser>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="MediaStream"/>
|
||||
/// <reference types="webrtc" />
|
||||
/// <reference types="filesystem" />
|
||||
|
||||
////////////////////
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
|
||||
///<reference path="colors.d.ts" />
|
||||
|
||||
import colors = require("colors");
|
||||
|
||||
console.log(colors.black.underline('test'));
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
///<reference path="commander.d.ts"/>
|
||||
|
||||
// NOTE: import statement can not use in TypeScript 1.0.1
|
||||
var program:commander.IExportedCommand = require('commander');
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/// <reference types="cordova" />
|
||||
/// <reference path='./cordova-plugin-background-mode.d.ts' />
|
||||
|
||||
cordova.plugins.backgroundMode.setDefaults({ silent: true });
|
||||
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
///<reference path="cordova-plugin-mapsforge.d.ts"/>
|
||||
|
||||
|
||||
mapsforge.embedded.initialize(["/mnt/sdcard/spain.map",0,0]); //Creates the view
|
||||
mapsforge.embedded.setCenter(43.360056,-5.845757); //Sets the center of the view
|
||||
mapsforge.embedded.setMaxZoom(18);
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
// Copyright (c) Microsoft Open Technologies, Inc.
|
||||
// Licensed under the MIT license.
|
||||
|
||||
/// <reference path="cordova.d.ts"/>
|
||||
|
||||
// Apache Cordova core
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/// <reference path="cordovarduino.d.ts"/>
|
||||
|
||||
serial.requestPermission(function success() {}, function error() {});
|
||||
serial.open({}, function success() {}, function error() {});
|
||||
serial.write('data_string', function success() {}, function error() {});
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
/// <reference path="./cropperjs.d.ts"/>
|
||||
import * as Cropper from 'cropperjs';
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Diullei Gomes <https://github.com/diullei>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="js-signals" />
|
||||
/// <reference types="signals" />
|
||||
|
||||
declare namespace CrossroadsJs {
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/// <reference path="dagre-d3.d.ts"/>
|
||||
namespace DagreD3Tests {
|
||||
var gDagre = new dagreD3.graphlib.Graph();
|
||||
var graph = gDagre.graph();
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/// <reference path="dagre.d.ts"/>
|
||||
namespace DagreTests {
|
||||
var gDagre = new dagre.graphlib.Graph();
|
||||
gDagre.setGraph({})
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
///<reference types="d3" />
|
||||
///<reference types="crossfilter" />
|
||||
///<reference path="dc.d.ts" />
|
||||
|
||||
interface IYelpData {
|
||||
city: string;
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
///<reference path="./dom4.d.ts" />
|
||||
|
||||
function testDocument() {
|
||||
document.query(".container-a").classList;
|
||||
document.queryAll(".container-b")[0].className;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
///<reference path="dotdotdot.d.ts" />
|
||||
///<reference types="jquery" />
|
||||
|
||||
$("span").dotdotdot({ ellipsis: ":::" });
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/// <reference path="easystarjs.d.ts"/>
|
||||
|
||||
// For node.js compile using: tsc --module commonjs easystarjs-tests.ts
|
||||
// then run using: node easystarjs-tests.js
|
||||
import EasyStar = require('easystarjs');
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
///<reference path="email-templates.d.ts"/>
|
||||
|
||||
import EmailTemplates = require('email-templates');
|
||||
|
||||
var EmailTemplate = EmailTemplates.EmailTemplate;
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
|
||||
/// <reference types="handlebars-1.0.0" />
|
||||
|
||||
|
||||
var App : any;
|
||||
|
||||
App = Em.Application.create<Em.Application>();
|
||||
|
||||
Vendored
+1
-3
@@ -4,9 +4,7 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="jquery" />
|
||||
/// <reference types="handlebars-1.0.0" />
|
||||
|
||||
declare var Handlebars: HandlebarsStatic;
|
||||
/// <reference types="handlebars" />
|
||||
|
||||
declare namespace EmberStates {
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
///<reference path="eventemitter2.d.ts"/>
|
||||
|
||||
// Example for CommonJS/AMD
|
||||
/*
|
||||
import eventemitter2 = require("eventemitter2");
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
///<reference path="eventemitter3.d.ts" />
|
||||
///<reference types="node" />
|
||||
///<reference types="mocha" />
|
||||
'use strict';
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
/// <reference types="mocha" />
|
||||
|
||||
/// <reference path='expectations.d.ts' />
|
||||
|
||||
// transplant from https://github.com/spmason/expectations/blob/695c25bd35bb1751533a8082a5aa378e3e1b381f/test/expect.tests.js
|
||||
|
||||
var root = this;
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/// <reference path="./express-validator.d.ts"/>
|
||||
|
||||
/* Usage Example from https://github.com/ctavan/express-validator */
|
||||
|
||||
import util = require('util')
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
///<reference path="fabricjs.d.ts" />
|
||||
|
||||
function sample1() {
|
||||
var canvas = new fabric.Canvas('c', {
|
||||
hoverCursor: 'pointer',
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
///<reference path="falcor-http-datasource.d.ts" />
|
||||
|
||||
import HttpDataSource from 'falcor-http-datasource';
|
||||
import {Model} from 'falcor';
|
||||
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
/// <reference path="./favico.js.d.ts"/>
|
||||
|
||||
|
||||
// constructor options
|
||||
|
||||
var plain = (): favicojs.Favico => new Favico({
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// Tests by: Kaur Kuut <https://github.com/xStrom>
|
||||
|
||||
///<reference types="jquery" />
|
||||
///<reference path="featherlight.d.ts" />
|
||||
|
||||
// Every option as default
|
||||
var defaultOptions = {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/// <reference path="firebase-token-generator.d.ts"/>
|
||||
import FirebaseTokenGenerator = require('firebase-token-generator');
|
||||
|
||||
const tokenGenerator: FirebaseTokenGenerator = new FirebaseTokenGenerator("MY_SECRET");
|
||||
|
||||
+53
-54
@@ -2,15 +2,14 @@
|
||||
// Project: http://flickity.metafizzy.co/
|
||||
// Definitions by: Chris McGrath <https://www.github.com/clmcgrath>
|
||||
// Definitions: https://github.com/clmcgrath/
|
||||
|
||||
///<reference types="jquery"/>
|
||||
///<reference path="FlickityEvents.ts"/>
|
||||
///<reference path="flickity.d.ts"/>
|
||||
|
||||
|
||||
//jQuery tests
|
||||
|
||||
|
||||
var $flickity : JQuery = $("#flickity-selector").flickity(
|
||||
var $flickity: JQuery = $("#flickity-selector").flickity(
|
||||
{
|
||||
initialIndex: 0,
|
||||
accessibility: true,
|
||||
@@ -37,14 +36,14 @@
|
||||
rightToLeft: false
|
||||
});
|
||||
|
||||
$flickity.flickity("next")
|
||||
.flickity('select', 4);
|
||||
$flickity.flickity("next")
|
||||
.flickity('select', 4);
|
||||
|
||||
//Vanilla jQuery tests
|
||||
var flikty : Flickity = new Flickity("#flickity-gallery");
|
||||
//Vanilla jQuery tests
|
||||
var flikty: Flickity = new Flickity("#flickity-gallery");
|
||||
|
||||
var flikty2: Flickity =
|
||||
new Flickity("#flickity-gallery",
|
||||
var flikty2: Flickity =
|
||||
new Flickity("#flickity-gallery",
|
||||
{
|
||||
initialIndex: 0,
|
||||
accessibility: true,
|
||||
@@ -71,67 +70,67 @@
|
||||
rightToLeft: false
|
||||
});
|
||||
|
||||
//ES6 element selector for tests
|
||||
var element = document.querySelector("#gallery");
|
||||
var nodeList = document.querySelectorAll("#gallery");
|
||||
var cellElements: Array<Element> = flikty2.getCellElements();
|
||||
//ES6 element selector for tests
|
||||
var element = document.querySelector("#gallery");
|
||||
var nodeList = document.querySelectorAll("#gallery");
|
||||
var cellElements: Array<Element> = flikty2.getCellElements();
|
||||
|
||||
flikty2.select(1, true);
|
||||
flikty2.select(1);
|
||||
flikty2.select(1, true);
|
||||
flikty2.select(1);
|
||||
|
||||
flikty2.previous();
|
||||
flikty2.previous(true);
|
||||
flikty2.previous();
|
||||
flikty2.previous(true);
|
||||
|
||||
flikty2.next();
|
||||
flikty2.next(true);
|
||||
flikty2.next();
|
||||
flikty2.next(true);
|
||||
|
||||
flikty2.resize();
|
||||
flikty2.reposition();
|
||||
flikty2.resize();
|
||||
flikty2.reposition();
|
||||
|
||||
flikty2.prepend(element);
|
||||
flikty2.prepend(element);
|
||||
|
||||
flikty2.append(element);
|
||||
flikty2.append(nodeList);
|
||||
flikty2.append(element);
|
||||
flikty2.append(nodeList);
|
||||
|
||||
flikty2.insert(element, 0);
|
||||
flikty2.insert(nodeList, 0);
|
||||
flikty2.insert(new Array<Element>(), 0);
|
||||
flikty2.insert(element, 0);
|
||||
flikty2.insert(nodeList, 0);
|
||||
flikty2.insert(new Array<Element>(), 0);
|
||||
|
||||
flikty2.remove(element);
|
||||
flikty2.remove(nodeList);
|
||||
flikty2.remove(new Array<Element>());
|
||||
flikty2.remove(element);
|
||||
flikty2.remove(nodeList);
|
||||
flikty2.remove(new Array<Element>());
|
||||
|
||||
flikty2.destroy();
|
||||
flikty2.destroy();
|
||||
|
||||
flikty2.reloadCells();
|
||||
flikty2.reloadCells();
|
||||
|
||||
//event handlers
|
||||
flikty2.on(FlickityEvents.cellSelect, (evt, ele) => {
|
||||
//do something
|
||||
});
|
||||
//event handlers
|
||||
flikty2.on(FlickityEvents.cellSelect, (evt, ele) => {
|
||||
//do something
|
||||
});
|
||||
|
||||
flikty2.off(FlickityEvents.cellSelect, (evt, ele, pntr , vctr) => {
|
||||
//do something
|
||||
});
|
||||
flikty2.off(FlickityEvents.cellSelect, (evt, ele, pntr, vctr) => {
|
||||
//do something
|
||||
});
|
||||
|
||||
flikty2.once(FlickityEvents.cellSelect, (evt, ele, pntr) => {
|
||||
//do something
|
||||
});
|
||||
flikty2.once(FlickityEvents.cellSelect, (evt, ele, pntr) => {
|
||||
//do something
|
||||
});
|
||||
|
||||
flikty2.listener("myCustomEvent", (evt : Event) => {
|
||||
//do something
|
||||
});
|
||||
flikty2.listener("myCustomEvent", (evt: Event) => {
|
||||
//do something
|
||||
});
|
||||
|
||||
//static get data methods
|
||||
//static get data methods
|
||||
|
||||
var jQdata = jQuery.fn.data('flickity')();
|
||||
jQdata = $.fn.data('flickity')();
|
||||
var jQdata = jQuery.fn.data('flickity')();
|
||||
jQdata = $.fn.data('flickity')();
|
||||
|
||||
var jsData = Flickity.data("#gallery");
|
||||
jsData = Flickity.data("#gallery");
|
||||
var jsData = Flickity.data("#gallery");
|
||||
jsData = Flickity.data("#gallery");
|
||||
|
||||
//property tests
|
||||
var selectedIndex : number = flikty2.selectedIndex;
|
||||
//property tests
|
||||
var selectedIndex: number = flikty2.selectedIndex;
|
||||
|
||||
var selectedElement: Element = flikty2.selectedElement;
|
||||
var cells : Array<Element> = flikty2.cells;
|
||||
var selectedElement: Element = flikty2.selectedElement;
|
||||
var cells: Array<Element> = flikty2.cells;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
/**
|
||||
* Created by kubosho_ on 6/16/2014.
|
||||
*/
|
||||
///<reference path='flipsnap.d.ts'/>
|
||||
|
||||
Flipsnap('', {
|
||||
maxPoint: 3,
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
///<reference path='fluxxor.d.ts' />
|
||||
|
||||
import React = require('react');
|
||||
import Fluxxor = require('fluxxor');
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
///<reference path='fontoxml.d.ts' />
|
||||
|
||||
var workflow:com.fontoxml.IWorkflowInfo = {
|
||||
id:"1",
|
||||
displayName:"workflow"
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/// <reference path="format-unicorn.d.ts"/>
|
||||
|
||||
import 'format-unicorn';
|
||||
|
||||
// Unsafe version
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Matt McCray <https://github.com/darthapo>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="index" />
|
||||
/// <reference types="backbone" />
|
||||
/// <reference types="jquery" />
|
||||
|
||||
declare namespace Giraffe {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/// <reference types="jquery"/>
|
||||
/// <reference path="gldatepicker.d.ts"/>
|
||||
|
||||
$('input').glDatePicker();
|
||||
$('#example2').glDatePicker(
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
///<reference path="glidejs.d.ts" />
|
||||
///<reference types="jquery" />
|
||||
|
||||
// Copied from documentation
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Deividas Bakanas <https://github.com/DeividasBakanas>, Giedrius Grabauskas <https://github.com/GiedriusGrabauskas>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="google.maps" />
|
||||
/// <reference types="googlemaps" />
|
||||
|
||||
declare namespace GoogleMapsLoader {
|
||||
interface CallBack {
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
/// <reference types="google.maps" />
|
||||
|
||||
|
||||
function test_options() {
|
||||
var options: google.maps.infobubble.InfoBubbleOptions;
|
||||
options = {};
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Johan Nilsson <https://github.com/Dashue>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="google.maps" />
|
||||
/// <reference types="google-maps" />
|
||||
|
||||
/**
|
||||
* @name CSS3 InfoBubble with tabs for Google Maps API V3
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
||||
// Definitions by: flyfishMT <https://github.com/flyfishMT/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="js-signals" />
|
||||
/// <reference types="signals" />
|
||||
|
||||
declare namespace HasherJs {
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/// <reference path="hashmap.d.ts"/>
|
||||
|
||||
var emptyMap:HashMap<string, number> = new HashMap<string, number>();
|
||||
var filledMap:HashMap<string, number> = new HashMap<string, number>("bar", 123, "bar2", 234);
|
||||
var copiedMap:HashMap<string, number> = new HashMap(filledMap);
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/// <reference path="hypertext-application-language.d.ts"/>
|
||||
|
||||
// Link object
|
||||
// Link object
|
||||
|
||||
// Fields format:
|
||||
var link:Hal.Link = {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/// <reference types="i18next-2.0.17"/>
|
||||
/// <reference path="i18next-browser-languagedetector.d.ts"/>
|
||||
/// <reference types="i18next" />
|
||||
|
||||
import * as i18next from 'i18next';
|
||||
import LngDetector from 'i18next-browser-languagedetector';
|
||||
|
||||
+1
-2
@@ -3,8 +3,7 @@
|
||||
// Definitions by: Cyril Schumacher <https://github.com/cyrilschumacher>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
///<reference types="index"/>
|
||||
///<reference types="i18next-2.0.17"/>
|
||||
/// <reference types="i18next"/>
|
||||
|
||||
declare namespace I18next {
|
||||
interface I18nextStatic extends i18nextBrowserLanguageDetector.I18nextStatic { }
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
///<reference path="i18next-node-fs-backend.d.ts"/>
|
||||
|
||||
import * as i18next from 'i18next';
|
||||
import * as Backend from 'i18next-node-fs-backend';
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
///<reference path="./i18next-sprintf-postprocessor.d.ts"/>
|
||||
|
||||
import * as i18next from "i18next";
|
||||
import * as sprintfA from "i18next-sprintf-postprocessor";
|
||||
import sprintfB from "i18next-sprintf-postprocessor/dist/commonjs";
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
/// <reference types="sinon" />
|
||||
/// <reference types="mocha" />
|
||||
/// <reference types="expect.js" />
|
||||
/// <reference types="fixtures" />
|
||||
/// <reference types="jquery" />
|
||||
|
||||
|
||||
import * as i18n from 'i18next';
|
||||
|
||||
i18n.init({
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
///<reference path="icheck.d.ts" />
|
||||
///<reference types="jquery" />
|
||||
/// <reference types="jquery" />
|
||||
|
||||
$('input').iCheck({
|
||||
labelHover: false,
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
///<reference path="./iconv.d.ts" />
|
||||
|
||||
import {Iconv} from "iconv";
|
||||
import {Writable} from "stream";
|
||||
|
||||
|
||||
@@ -1,13 +1,7 @@
|
||||
/// <reference path='imap.d.ts' />
|
||||
|
||||
/*
|
||||
* This code contains all of the example code that was on https://www.npmjs.com/package/imap as of Sat Dec 13, 2014.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
import Imap = require('imap');
|
||||
import util = require('util');
|
||||
import inspect = util.inspect;
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Qubo <https://github.com/tkQubo>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="rx-lite" />
|
||||
/// <reference types="rx" />
|
||||
|
||||
import through = require('through');
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/// <reference types="jquery"/>
|
||||
/// <reference path="ion.rangeSlider.d.ts"/>
|
||||
|
||||
var sliderInputElement = $('<input />');
|
||||
sliderInputElement.ionRangeSlider({
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
||||
// Definitions by: phillips1012 <https://github.com/phillips1012>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="node-0.10" />
|
||||
/// <reference types="node" />
|
||||
|
||||
/** This library provides IRC client functionality. */
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/// <reference path="isomorphic-fetch.d.ts"/>
|
||||
|
||||
function test_isomorphicFetchTestCases() {
|
||||
expectSuccess(fetch('http://localhost:3000/good'), 'Good response');
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Sven Reglitzki <https://github.com/svi3c/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
///<reference types="jasmine-1.3"/>
|
||||
///<reference types="jasmine"/>
|
||||
|
||||
declare function it(expectation:string, assertion:(done:(err?:any) => void) => void, timeout?:number):void;
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
///<reference path="java.d.ts"/>
|
||||
///<reference types="bluebird"/>
|
||||
|
||||
import java = require('java');
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/// <reference path="javascript-bignum.d.ts"/>
|
||||
let m = SchemeNumber("1");
|
||||
let n = SchemeNumber(2);
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Aidan Reel <http://github.com/areel>, David Durman <http://github.com/DavidDurman>, Ewout Van Gossum <https://github.com/DenEwout>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="index" />
|
||||
/// <reference types="backbone" />
|
||||
|
||||
declare namespace joint {
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/// <reference types="jquery"/>
|
||||
/// <reference path="jqrangeslider.d.ts"/>
|
||||
|
||||
// Arrows
|
||||
$("#arrowsExample").rangeSlider({ arrows: false });
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/// <reference types="jquery"/>
|
||||
/// <reference path="jquery-backstretch.d.ts"/>
|
||||
|
||||
var backstretch = jQuery.backstretch(['image.png'], {
|
||||
centeredX: false,
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/// <reference types="jquery"/>
|
||||
/// <reference path="jquery-cropbox.d.ts"/>
|
||||
|
||||
var cropboxWithDefaultSettings = $("#element").cropbox();
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/// <reference path="jquery-fullscreen.d.ts"/>
|
||||
|
||||
//
|
||||
// Examples from https://github.com/kayahr/jquery-fullscreen-plugin
|
||||
//
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/// <reference types="jquery"/>
|
||||
/// <reference path="jquery-jsonrpcclient.d.ts"/>
|
||||
|
||||
var foo = new $.JsonRpcClient({ ajaxUrl: '/backend/jsonrpc' });
|
||||
foo.call(
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/// <reference path="jquery-knob.d.ts"/>
|
||||
|
||||
// create from html attrs
|
||||
$('<input type="text" name="knob" value="50" data-min="0" data-max="100">').knob();
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/// <reference types="jquery"/>
|
||||
/// <reference path="jquery-mockjax.d.ts"/>
|
||||
/// <reference types="qunit" />
|
||||
|
||||
class Tests {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/// <reference types="jquery"/>
|
||||
/// <reference path="jquery-timeentry.d.ts"/>
|
||||
|
||||
var selector = '#example';
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="jquery"/>
|
||||
/// <reference path="jquery.are-you-sure.d.ts"/>
|
||||
|
||||
//Use defaults
|
||||
$("test").areYouSure();
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
///<reference types="jquery" />
|
||||
///<reference path="jquery.cleditor.d.ts" />
|
||||
|
||||
// cribbed from http://premiumsoftware.net/CLEditor/GettingStarted
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
///<reference path="jquery.clientSideLogging.d.ts" />
|
||||
|
||||
$.clientSideLogging({
|
||||
log_level: 3,
|
||||
client_info: {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/// <reference types="jquery"/>
|
||||
/// <reference path="jquery.color.d.ts"/>
|
||||
|
||||
var color = $.Color("rgba(255, 255, 255, 0.4)");
|
||||
var color1 = $.Color({red: 255, green: 255, blue: 255});
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user