Remove unneeded references

This commit is contained in:
Ryan Cavanaugh 2016-05-10 12:22:25 -07:00
parent 50387d4046
commit e808e8e062
1168 changed files with 1308 additions and 1317 deletions

View File

@ -1,4 +1,4 @@
/// <reference path="DataStream.js.d.ts" />
var buf = new ArrayBuffer(100);
var ds = new DataStream(buf);

View File

@ -1,4 +1,4 @@
/// <reference path="FileSaver.d.ts" />
/**
* @summary Test for "saveAs" function.

View File

@ -1,4 +1,4 @@
/// <reference path="Finch.d.ts" />
function test_Finch() {

View File

@ -1,4 +1,4 @@
/// <reference path="headroom.d.ts" />
new Headroom(document.getElementById('siteHead'));

View File

@ -1,4 +1,4 @@
/// <reference path="HubSpot-pace.d.ts" />
pace.start({
document: false

View File

@ -1,4 +1,4 @@
/// <reference path="./openjscad.d.ts" />
function test() {

View File

@ -1,4 +1,3 @@
/// <reference path="_debugger.d.ts"/>
import _debugger = require("_debugger");
var {Client} = _debugger;

View File

@ -1,5 +1,5 @@
/// <reference types="jquery"/>
/// <reference path="acc-wizard.d.ts" />
/**
* @summary Test for "accwizard" without options.

View File

@ -1,4 +1,4 @@
/// <reference path="ace.d.ts" />
var exports: any;
var assert: any;

View File

@ -1,4 +1,4 @@
/// <reference path="../ace.d.ts" />
var assert: any;
var exports = {

View File

@ -1,4 +1,4 @@
/// <reference path="../ace.d.ts" />
var assert: any;

View File

@ -1,4 +1,4 @@
/// <reference path="../ace.d.ts" />
var assert: any;
var editor = ace.edit("editor");

View File

@ -1,4 +1,4 @@
/// <reference path="../ace.d.ts" />
var assert: any;
var exports = {

View File

@ -1,4 +1,4 @@
/// <reference path="../ace.d.ts" />
var lang: any;
var assert: any;

View File

@ -1,4 +1,4 @@
/// <reference path="../ace.d.ts" />
var assert: any;
var exports = {

View File

@ -1,4 +1,4 @@
/// <reference path="../ace.d.ts" />
var lipsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +
"Mauris at arcu mi, eu lobortis mauris. Quisque ut libero eget " +

View File

@ -1,4 +1,4 @@
/// <reference path="../ace.d.ts" />
var assert: any;
var renderer: AceAjax.VirtualRenderer;

View File

@ -1,4 +1,4 @@
/// <reference path="../ace.d.ts" />
var assert: any;
var renderer: AceAjax.VirtualRenderer;

View File

@ -1,4 +1,4 @@
/// <reference path="../ace.d.ts" />
var assert: any;
var editor: any;

View File

@ -1,4 +1,4 @@
/// <reference path="../ace.d.ts" />
var assert: any;
var renderer: AceAjax.VirtualRenderer;

View File

@ -1,4 +1,4 @@
/// <reference path="../ace.d.ts" />

var assert: any;
var exports = {

View File

@ -1,4 +1,4 @@
/// <reference path="../ace.d.ts" />
var assert: any;
function flatten(rangeList) {

View File

@ -1,4 +1,4 @@
/// <reference path="../ace.d.ts" />
var assert: any;
var exports = {

View File

@ -1,4 +1,4 @@
/// <reference path="../ace.d.ts" />
var assert: any;
var exports = {

View File

@ -1,4 +1,4 @@
/// <reference path="../ace.d.ts" />
var assert: any;
var mode: any;

View File

@ -1,4 +1,4 @@
/// <reference path="../ace.d.ts" />
var assert: any;
var exports = {

View File

@ -1,4 +1,4 @@
/// <reference path="adal-angular.d.ts" />
// Code samples from:
// - https://github.com/AzureAD/azure-activedirectory-library-for-js

View File

@ -3,7 +3,7 @@
// Definitions by: mmaitre314 <https://github.com/mmaitre314>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="adal.d.ts" />
/// <reference types="angularjs" />
declare namespace adal {

View File

@ -1,4 +1,4 @@
/// <reference path="adal.d.ts" />
var endpoints = {
"https://yourhost/api": "b6a68585-5287-45b2-ba82-383ba1f60932",

View File

@ -1,4 +1,4 @@
/// <reference path="add2home.d.ts" />
addToHome.show(false);
addToHome.close();

View File

@ -1,4 +1,4 @@
/// <reference path="alertify.d.ts" />
alertify.init();

View File

@ -1,4 +1,4 @@
/// <reference path="amplify-deferred.d.ts" />
/// <reference types="jquery" />
// Copied examples directly from AmplifyJs site

View File

@ -1,4 +1,4 @@
/// <reference path="amplifyjs.d.ts" />
/// <reference types="jquery" />
// Copied examples directly from AmplifyJs site

View File

@ -1,4 +1,4 @@
/// <reference path="amqplib.d.ts" />
// promise api tests
import amqp = require("amqplib");

View File

@ -1,4 +1,4 @@
/// <reference path="./analytics-node.d.ts" />
var analytics: AnalyticsNode.Analytics;
import Analytics = require("analytics-node");

View File

@ -1,4 +1,4 @@
/// <reference path="angular-agility.d.ts" />
var validIconStrategy:aa.IValidIconStrategy = <aa.IValidIconStrategy>{};
validIconStrategy.validIcon = "";

View File

@ -1,4 +1,4 @@
/// <reference path="angular-dialog-service.d.ts" />
var options : angular.dialogservice.IDialogOptions = {};

View File

@ -1,4 +1,4 @@
/// <reference path="angular-environment.d.ts" />
var envServiceProvider: angular.environment.ServiceProvider;
var envService: angular.environment.Service;

View File

@ -1,4 +1,4 @@
/// <reference path="angular-formly.d.ts" />
var app = angular.module('app', ['formly']);

View File

@ -1,4 +1,4 @@
/// <reference path="angular-fullscreen.d.ts" />
angular
.module('TestApp', ['FBAngular'])

View File

@ -1,4 +1,4 @@
/// <reference path="angular-gettext.d.ts" />

namespace angular_gettext_tests {

View File

@ -1,5 +1,5 @@
/// <reference path="angular-google-analytics.d.ts" />
/// <reference path="angular-google-analytics-service.d.ts" />
function ConfigurationMethodChaining(AnalyticsProvider: angular.google.analytics.AnalyticsProvider) {
AnalyticsProvider

View File

@ -1,4 +1,4 @@
/// <reference path="angular-growl-v2.d.ts" />
var app = angular.module("ag", ["pascalprecht.translate", "$httpProvider"]);

View File

@ -1,5 +1,5 @@
/// <reference types="angularjs" />
/// <reference path="angular-hotkeys.d.ts" />
var scope: ng.IScope;
var hotkeyProvider: ng.hotkeys.HotkeysProvider;

View File

@ -1,4 +1,4 @@
/// <reference path="./angular-http-auth.d.ts" />
(function () {
'use strict';

View File

@ -1,4 +1,4 @@
/// <reference path="./angular-httpi.d.ts" />
(function() {
'use strict';

View File

@ -1,4 +1,4 @@
/// <reference path="./angular-idle.d.ts" />
angular.module('app', ['ngIdle'])
.config(['KeepaliveProvider', 'IdleProvider', 'TitleProvider',

View File

@ -1,5 +1,5 @@
/// <reference types="angularjs" />
/// <reference path="angular-jwt.d.ts" />
var app = angular.module("angular-jwt-tests", ["angular-jwt"]);

View File

@ -1,4 +1,4 @@
/// <reference path="./angular-load.d.ts" />
angular.module('app',['angularLoad'])
.run(['angularLoad',(angularLoad:angular.load.IAngularLoadService)=> {

View File

@ -1,4 +1,4 @@
/// <reference path="angular-loading-bar.d.ts" />
var app = angular.module('testModule', ['angular-loading-bar']);

View File

@ -1,4 +1,4 @@
/// <reference path="angular-material.d.ts" />
var myApp = angular.module('testModule', ['ngMaterial']);

View File

@ -1,4 +1,4 @@
/// <reference path="match-media.d.ts" />

var myApp = angular.module('testModule', ['matchMedia']);

View File

@ -1,4 +1,4 @@
/// <reference path="angular-meteor.d.ts" />
interface ITodo {
_id?: string;

View File

@ -1,6 +1,6 @@
/// <reference types="jquery" />
/// <reference types="angularjs" />
/// <reference path="angular-modal.d.ts" />
var btfModal: angularModal.AngularModalFactory;

View File

@ -1,4 +1,4 @@
/// <reference path="angular-notifications.d.ts" />
var myapp = angular.module("myapp", ["notifications"]);

View File

@ -1,4 +1,4 @@
/// <reference path="angular-notify.d.ts" />
var myapp = angular.module("myapp", ["cgNotify"]);

View File

@ -1,4 +1,4 @@
/// <reference path="angular-odata-resources.d.ts" />
interface IMyResource extends OData.IResource<IMyResource> { };
interface IMyResourceClass extends OData.IResourceClass<IMyResource> { };

View File

@ -1,4 +1,4 @@
/// <reference path="./angular-permission-2.3.1.d.ts" />
import permission = angular.permission;

View File

@ -1,4 +1,4 @@
/// <reference path="./angular-permission.d.ts" />
import permission = angular.permission;

View File

@ -1,4 +1,4 @@
/// <reference path="angular-scroll.d.ts" />
namespace TestApp {

View File

@ -1,4 +1,4 @@
/// <reference path="angular-spinner.d.ts" />
var myApp = angular.module('testModule');

View File

@ -1,4 +1,4 @@
/// <reference path="angular-toasty.d.ts" />
interface AngularToastyTestControllerScope extends ng.IScope {
button:string;

View File

@ -1,4 +1,4 @@
/// <reference path="angular-touchspin.d.ts" />
angular
.module('touchspin-tests', ['lm.touchspin'])

View File

@ -1,4 +1,4 @@
/// <reference path="angular-translate.d.ts" />
var app = angular.module('at', ['pascalprecht.translate']);

View File

@ -1,4 +1,4 @@
/// <reference path="angular-ui-bootstrap.d.ts" />
var testApp = angular.module('testApp');

View File

@ -1,4 +1,4 @@
/// <reference path="angular-ui-router.d.ts" />
var myApp = angular.module('testModule');

View File

@ -1,4 +1,4 @@
/// <reference path="angular-ui-scroll.d.ts" />
var myApp = angular.module('application', ['ui.scroll', 'ui.scroll.jqlite']);
namespace application {

View File

@ -1,5 +1,5 @@
/// <reference types="angularjs" />
/// <reference path="angular-ui-sortable.d.ts" />
var myApp = angular.module('testModule');

View File

@ -1,4 +1,4 @@
/// <reference path="angular-ui-tree.d.ts" />
var treeNode: AngularUITree.ITreeNode = {
id: 0,

View File

@ -2,7 +2,7 @@
/// <reference types="angularjs" />
/// <reference types="angular-mocks" />
/// <reference path="angular-wizard.d.ts" />
// test file taken from https://github.com/mgonto/angular-wizard

View File

@ -1,4 +1,4 @@
/// <reference path="angular.throttle.d.ts" />
var throttledFn = angular.throttle(function (someArg:any) {
return someArg;

View File

@ -2,14 +2,14 @@
## Referencing AngularJS definition files in your code
To do that, simply add `/// <reference path="angular.d.ts" />` at the top of your code.
To do that, simply add `` at the top of your code.
That will make available to your code all interfaces AngularJS' main module **ng** implements, as well as the **AUTO** module.
If you are including other AngularJS' modules in your code, like **ngResource**, just like you needed to include the additional module implementation file in your code, _angular-resource.js_, you will also need to reference the definitions file related to that module. Your code would then have the following definitions files reference:
/// <reference path="angular.d.ts" />
/// <reference path="angular-resource.d.ts" />
Having these modules in separated files is actually good because they sometimes either augment or modify some of **ng**'s interfaces, and thus those differences should only be available to you when you really need them. Also, it forces you to explicit what you're going to be using.
@ -107,8 +107,8 @@ function Controller($scope: ICustomScope) {
### Working with $resource
```ts
/// <reference path="angular.d.ts" />
/// <reference path="angular-resource.d.ts" />
// We have the option to define arguments for a custom resource
interface IArticleParameters {
@ -177,8 +177,8 @@ function MainController($resource: ng.resource.IResourceService) {
### Working with $resource in angular-1.0 definitions
```ts
/// <reference path="angular-1.0.d.ts" />
/// <reference path="angular-resource-1.0.d.ts" />
// Let's define a custom resource
interface IArticleResourceClass extends ng.resource.IResourceClass {

View File

@ -1,4 +1,4 @@
/// <reference path="angular-mocks.d.ts" />
///////////////////////////////////////
// IAngularStatic

View File

@ -1,4 +1,4 @@
/// <reference path="angular-resource.d.ts" />
import IHttpPromiseCallbackArg = angular.IHttpPromiseCallbackArg;

View File

@ -1,5 +1,5 @@
/// <reference path="angular-route.d.ts" />
/**
* @license HTTP Auth Interceptor Module for AngularJS

View File

@ -1,4 +1,4 @@
/// <reference path="angular-sanitize.d.ts" />
var shouldBeString: string;

View File

@ -1,4 +1,4 @@
/// <reference path="angular-1.0.d.ts" />
// issue: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/369
https://github.com/witoldsz/angular-http-auth/blob/master/src/angular-http-auth.js

View File

@ -1,4 +1,4 @@
/// <reference path="angular-1.2.d.ts" />
// issue: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/369
// https://github.com/witoldsz/angular-http-auth/blob/master/src/angular-http-auth.js

View File

@ -3,7 +3,7 @@
// Definitions by: Michel Salib <https://github.com/michelsalib>, Adi Dahiya <https://github.com/adidahiya>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="angular-1.2.d.ts" />
///////////////////////////////////////////////////////////////////////////////
// ngAnimate module (angular-animate.js)

View File

@ -3,7 +3,7 @@
// Definitions by: Michel Salib <https://github.com/michelsalib>, Adi Dahiya <https://github.com/adidahiya>, Raphael Schweizer <https://github.com/rasch>, Cody Schaaf <https://github.com/codyschaaf>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="angular-1.4.d.ts" />
declare module "angular-animate" {
var _: string;

View File

@ -4,7 +4,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="angular-1.0.d.ts" />
///////////////////////////////////////////////////////////////////////////////
// ngCookies module (angular-cookies.js)

View File

@ -4,7 +4,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="angular-1.2.d.ts" />
///////////////////////////////////////////////////////////////////////////////
// ngCookies module (angular-cookies.js)

View File

@ -4,7 +4,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="angular-1.0.d.ts" />
///////////////////////////////////////////////////////////////////////////////
// functions attached to global object (window)

View File

@ -1,4 +1,4 @@
/// <reference path="angular-mocks-1.2.d.ts" />
///////////////////////////////////////
// IAngularStatic

View File

@ -3,7 +3,7 @@
// Definitions by: Diego Vilar <http://github.com/diegovilar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="angular-1.2.d.ts" />
///////////////////////////////////////////////////////////////////////////////
// functions attached to global object (window)

View File

@ -3,7 +3,7 @@
// Definitions by: Diego Vilar <http://github.com/diegovilar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="angular-1.0.d.ts" />
///////////////////////////////////////////////////////////////////////////////

View File

@ -1,4 +1,4 @@
/// <reference path="angular-resource-1.2.d.ts" />
interface IMyResource extends ng.resource.IResource<IMyResource> { };
interface IMyResourceClass extends ng.resource.IResourceClass<IMyResource> { };

View File

@ -3,7 +3,7 @@
// Definitions by: Diego Vilar <http://github.com/diegovilar>, Michael Jess <http://github.com/miffels>
// Definitions: https://github.com/daptiv/DefinitelyTyped
/// <reference path="angular-1.2.d.ts" />
///////////////////////////////////////////////////////////////////////////////

View File

@ -3,7 +3,7 @@
// Definitions by: Diego Vilar <http://github.com/diegovilar>, Michael Jess <http://github.com/miffels>
// Definitions: https://github.com/daptiv/DefinitelyTyped
/// <reference path="angular-1.4.d.ts" />
declare module 'angular-resource' {
var _: string;

View File

@ -1,4 +1,4 @@
/// <reference path="angular-route-1.2.d.ts" />
/**
* @license HTTP Auth Interceptor Module for AngularJS

View File

@ -3,7 +3,7 @@
// Definitions by: Jonathan Park <https://github.com/park9140>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="angular-1.2.d.ts" />
///////////////////////////////////////////////////////////////////////////////

View File

@ -4,7 +4,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="angular-1.0.d.ts" />
///////////////////////////////////////////////////////////////////////////////
// ngSanitize module (angular-sanitize.js)

View File

@ -1,4 +1,4 @@
/// <reference path="angular-sanitize-1.2.d.ts" />
var shouldBeString: string;

View File

@ -4,7 +4,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="angular-1.2.d.ts" />
///////////////////////////////////////////////////////////////////////////////
// ngSanitize module (angular-sanitize.js)

View File

@ -1,4 +1,4 @@
/// <reference path="angulartics.d.ts" />
/// <reference types="angularjs" />
namespace Analytics {

View File

@ -1,5 +1,5 @@
/// <reference types="react" />
/// <reference path="./antd.d.ts" />
import React = __React
/*import {
Affix,

View File

@ -1,4 +1,4 @@
/// <reference path="appframework.d.ts" />
af(($: appFrameworkStatic) => {});

View File

@ -2,7 +2,7 @@
## Referencing AppleTVJS definition files in your code
To do that, simply add `/// <reference path="appletvjs.d.ts" />` at the top of your code.
To do that, simply add `` at the top of your code.
This will allow you to have intellisense in your AppleTVJS typescript code.

View File

@ -1,4 +1,4 @@
/// <reference path="appletvjs.d.ts" />
//test the global app events and functions
function test_AppEvents() {

View File

@ -4,7 +4,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// May 22 2013
/// <reference path="Arbiter.d.ts" />

Some files were not shown because too many files have changed in this diff Show More