Skip to content

Commit

Permalink
Merge branch 'master' into rename-repo-url
Browse files Browse the repository at this point in the history
  • Loading branch information
vvakame committed Mar 17, 2016
2 parents 56295f5 + 89f1449 commit 7de6c3d
Show file tree
Hide file tree
Showing 1,140 changed files with 179,702 additions and 179,633 deletions.
2 changes: 1 addition & 1 deletion HubSpot-pace/HubSpot-pace.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Definitions by: Borislav Zhivkov <https://github.com/borislavjivkov>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare module HubSpotPaceInterfaces {
declare namespace HubSpotPaceInterfaces {
interface PaceOptions {
/**
* How long should it take for the bar to animate to a new point after receiving it
Expand Down
14 changes: 7 additions & 7 deletions OpenJsCad/openjscad.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../threejs/three.d.ts" />

declare module THREE {
declare namespace THREE {
var CSG: {
fromCSG: (csg: CSG, defaultColor: any) => {
colorMesh: Mesh;
Expand Down Expand Up @@ -144,7 +144,7 @@ declare module THREE {
function RenderableSprite(): void;
function Projector(): void;
}
declare module OpenJsCad {
declare namespace OpenJsCad {
interface ILog {
(x: string): void;
prevLogTime?: number;
Expand Down Expand Up @@ -404,7 +404,7 @@ declare class CSG extends CxG implements ICenter {
toStlString(): string;
toAMFString(m: IAMFStringOptions): Blob;
}
declare module CSG {
declare namespace CSG {
function fnNumberSort(a: any, b: any): number;
function parseOption(options: any, optionname: any, defaultvalue: any): any;
function parseOptionAs3DVector(options: any, optionname: any, defaultvalue: any): Vector3D;
Expand Down Expand Up @@ -546,7 +546,7 @@ declare module CSG {
toStlString(): string;
}
}
declare module CSG.Polygon {
declare namespace CSG.Polygon {
class Shared {
color: any;
tag: any;
Expand All @@ -557,7 +557,7 @@ declare module CSG.Polygon {
getHash(): any;
}
}
declare module CSG {
declare namespace CSG {
class PolygonTreeNode {
parent: any;
children: any;
Expand Down Expand Up @@ -869,7 +869,7 @@ declare class CAG extends CxG implements ICenter {
toDxf(): Blob;
static PathsToDxf(paths: CSG.Path2D[]): Blob;
}
declare module CAG {
declare namespace CAG {
class Vertex {
pos: CSG.Vector2D;
tag: number;
Expand Down Expand Up @@ -905,7 +905,7 @@ interface CAG_extrude_options {
twistangle?: number;
twiststeps?: number;
}
declare module CSG {
declare namespace CSG {
class Polygon2D extends CAG {
constructor(points: Vector2D[]);
}
Expand Down
56 changes: 28 additions & 28 deletions PayPal-Cordova-Plugin/PayPal-Cordova-Plugin.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

/**
* The PayPalItem class defines an optional itemization for a payment.
*
*
* @see https://developer.paypal.com/docs/api/#item-object for more details.
*/
declare class PayPalItem {
Expand Down Expand Up @@ -51,7 +51,7 @@ declare class PayPalItem {

/**
* The PayPalPaymentDetails class defines optional amount details.
*
*
* @see https://developer.paypal.com/webapps/developer/docs/api/#details-object for more details.
*/
declare class PayPalPaymentDetails {
Expand Down Expand Up @@ -256,18 +256,18 @@ declare class PayPalConfiguration {

/**
* For single payments, options for the shipping address.
*
*
* - 0 - PayPalShippingAddressOptionNone: no shipping address applies.
*
*
* - 1 - PayPalShippingAddressOptionProvided: shipping address will be provided by your app,
* in the shippingAddress property of PayPalPayment.
*
*
* - 2 - PayPalShippingAddressOptionPayPal: user will choose from shipping addresses on file
* for their PayPal account.
*
*
* - 3 - PayPalShippingAddressOptionBoth: user will choose from the shipping address provided by your app,
* in the shippingAddress property of PayPalPayment, plus the shipping addresses on file for the user's PayPal account.
*
*
* Defaults to 0 (PayPalShippingAddressOptionNone).
*/
payPalShippingAddressOption: number;
Expand All @@ -277,26 +277,26 @@ declare class PayPalConfiguration {
* the SDK will remember the user's PayPal username or phone number;
* if the user pays via their credit card, then the SDK will remember
* the PayPal Vault token representing the user's credit card.
*
*
* If set to false, then any previously-remembered username, phone number, or
* credit card token will be erased, and subsequent payment information will
* not be remembered.
*
*
* Defaults to true.
*/
rememberUser: boolean;

/**
* If not set, or if set to nil, defaults to the device's current language setting.
*
*
* Can be specified as a language code ("en", "fr", "zh-Hans", etc.) or as a locale ("en_AU", "fr_FR", "zh-Hant_HK", etc.).
* If the library does not contain localized strings for a specified locale, then will fall back to the language. E.g., "es_CO" -> "es".
* If the library does not contain localized strings for a specified language, then will fall back to American English.
*
*
* If you specify only a language code, and that code matches the device's currently preferred language,
* then the library will attempt to use the device's current region as well.
* E.g., specifying "en" on a device set to "English" and "United Kingdom" will result in "en_GB".
*
*
* These localizations are currently included:
* da,de,en,en_AU,en_GB,en_SV,es,es_MX,fr,he,it,ja,ko,nb,nl,pl,pt,pt_BR,ru,sv,tr,zh-Hans,zh-Hant_HK,zh-Hant_TW.
*/
Expand All @@ -319,7 +319,7 @@ declare class PayPalConfiguration {
/**
* Sandbox credentials can be difficult to type on a mobile device. Setting this flag to true will
* cause the sandboxUserPassword and sandboxUserPin to always be pre-populated into login fields.
*
*
* This setting will have no effect if the operation mode is production.
* Defaults to false.
*/
Expand Down Expand Up @@ -385,18 +385,18 @@ interface PayPalConfigurationOptions {

/**
* For single payments, options for the shipping address.
*
*
* - 0 - PayPalShippingAddressOptionNone?: no shipping address applies.
*
*
* - 1 - PayPalShippingAddressOptionProvided?: shipping address will be provided by your app,
* in the shippingAddress property of PayPalPayment.
*
*
* - 2 - PayPalShippingAddressOptionPayPal?: user will choose from shipping addresses on file
* for their PayPal account.
*
*
* - 3 - PayPalShippingAddressOptionBoth?: user will choose from the shipping address provided by your app,
* in the shippingAddress property of PayPalPayment, plus the shipping addresses on file for the user's PayPal account.
*
*
* Defaults to 0 (PayPalShippingAddressOptionNone).
*/
payPalShippingAddressOption?: number;
Expand All @@ -406,26 +406,26 @@ interface PayPalConfigurationOptions {
* the SDK will remember the user's PayPal username or phone number;
* if the user pays via their credit card, then the SDK will remember
* the PayPal Vault token representing the user's credit card.
*
*
* If set to false, then any previously-remembered username, phone number, or
* credit card token will be erased, and subsequent payment information will
* not be remembered.
*
*
* Defaults to true.
*/
rememberUser?: boolean;

/**
* If not set, or if set to nil, defaults to the device's current language setting.
*
*
* Can be specified as a language code ("en", "fr", "zh-Hans", etc.) or as a locale ("en_AU", "fr_FR", "zh-Hant_HK", etc.).
* If the library does not contain localized strings for a specified locale, then will fall back to the language. E.g., "es_CO" -> "es".
* If the library does not contain localized strings for a specified language, then will fall back to American English.
*
*
* If you specify only a language code, and that code matches the device's currently preferred language,
* then the library will attempt to use the device's current region as well.
* E.g., specifying "en" on a device set to "English" and "United Kingdom" will result in "en_GB".
*
*
* These localizations are currently included:
* da,de,en,en_AU,en_GB,en_SV,es,es_MX,fr,he,it,ja,ko,nb,nl,pl,pt,pt_BR,ru,sv,tr,zh-Hans,zh-Hant_HK,zh-Hant_TW.
*/
Expand All @@ -448,7 +448,7 @@ interface PayPalConfigurationOptions {
/**
* Sandbox credentials can be difficult to type on a mobile device. Setting this flag to true will
* cause the sandboxUserPassword and sandboxUserPin to always be pre-populated into login fields.
*
*
* This setting will have no effect if the operation mode is production.
* Defaults to false.
*/
Expand All @@ -469,7 +469,7 @@ interface PayPalConfigurationOptions {

//#region cdv-plugin-paypal-mobile-sdk.js

declare module PayPalCordovaPlugin {
declare namespace PayPalCordovaPlugin {

export interface PayPalClientIds {
PayPalEnvironmentProduction: string;
Expand Down Expand Up @@ -545,7 +545,7 @@ declare module PayPalCordovaPlugin {
* the recommended time to preconnect is on page load.
*
* @param environment available options are "PayPalEnvironmentNoNetwork", "PayPalEnvironmentProduction" and "PayPalEnvironmentSandbox"
* @param configuration PayPalConfiguration object, for Future Payments merchantName, merchantPrivacyPolicyURL
* @param configuration PayPalConfiguration object, for Future Payments merchantName, merchantPrivacyPolicyURL
* and merchantUserAgreementURL must be set be set
* @param completionCallback a callback function on success
*/
Expand Down Expand Up @@ -592,15 +592,15 @@ declare module PayPalCordovaPlugin {

/**
* Please Read Docs on Future Payments at https://github.com/paypal/PayPal-iOS-SDK#future-payments
*
*
* @param completionCallback a callback function accepting a js object with future payment authorization
* @param cancelCallback a callback function accepting a reason string, called when the user canceled without agreement
*/
renderFuturePaymentUI(completionCallback: (result: PayPalCordovaPlugin.FuturePaymentResult) => void, cancelCallback: (cancelReason: string) => void): void;

/**
* Please Read Docs on Profile Sharing at https://github.com/paypal/PayPal-iOS-SDK#profile-sharing
*
*
* @param scopes scopes Set of requested scope-values. Accepted scopes are: openid, profile, address, email, phone, futurepayments and paypalattributes
* See https://developer.paypal.com/docs/integration/direct/identity/attributes/ for more details
* @param completionCallback a callback function accepting a js object with future payment authorization
Expand Down
2 changes: 1 addition & 1 deletion _debugger/_debugger.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

/// <reference path="../node/node.d.ts"/>

declare module NodeJS {
declare namespace NodeJS {
export module _debugger {
export interface Packet {
raw: string;
Expand Down
2 changes: 1 addition & 1 deletion ace/ace.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Definitions by: Diullei Gomes <https://github.com/Diullei>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare module AceAjax {
declare namespace AceAjax {

export interface Delta {
action: string;
Expand Down
2 changes: 1 addition & 1 deletion acorn/acorn.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

/// <reference path="../estree/estree.d.ts" />

declare module acorn {
declare namespace acorn {
var version: string;
function parse(input: string, options?: Options): ESTree.Program;
function parseExpressionAt(input: string, pos: number, options?: Options): ESTree.Expression;
Expand Down
4 changes: 2 additions & 2 deletions adm-zip/adm-zip.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ declare module "adm-zip" {
* @param targetPath Target location
* @param overwrite If the file already exists at the target path, the file
* will be overwriten if this is true. Default is FALSE
* @param callback The callback function will be called afeter extraction
* @param callback The callback function will be called afeter extraction
*/
extractAllToAsync(targetPath: string, overwrite: boolean, callback: (error: Error) => void): void;
/**
Expand All @@ -233,7 +233,7 @@ declare module "adm-zip" {
toBuffer(): Buffer;
}

module AdmZip {
namespace AdmZip {
/**
* The ZipEntry is more than a structure representing the entry inside the
* zip file. Beside the normal attributes and headers a entry can have, the
Expand Down
Loading

0 comments on commit 7de6c3d

Please sign in to comment.