replace internal module to namespace

This commit is contained in:
vvakame
2016-03-17 02:18:10 +09:00
parent 2f47c75835
commit 14fe4313f4
1139 changed files with 179639 additions and 179639 deletions
+2 -2
View File
@@ -208,7 +208,7 @@ class UrlLocatorTestService implements IUrlLocatorTestService {
myApp.service("urlLocatorTest", UrlLocatorTestService);
module UiViewScrollProviderTests {
namespace UiViewScrollProviderTests {
var app = angular.module("uiViewScrollProviderTests", ["ui.router"]);
app.config(['$uiViewScrollProvider', function($uiViewScrollProvider: ng.ui.IUiViewScrollProvider) {
@@ -227,7 +227,7 @@ interface ITestUserService {
handleLogin: () => ng.IPromise<{}>;
}
module UrlRouterProviderTests {
namespace UrlRouterProviderTests {
var app = angular.module("urlRouterProviderTests", ["ui.router"]);
app.config(($urlRouterProvider: ng.ui.IUrlRouterProvider) => {
+3 -3
View File
@@ -28,7 +28,7 @@ declare module 'angular-ui-router' {
export type IType = angular.ui.IType;
}
declare module angular.ui {
declare namespace angular.ui {
interface IState {
name?: string;
@@ -88,12 +88,12 @@ declare module angular.ui {
* Arbitrary data object, useful for custom configuration.
*/
data?: any;
/**
* Boolean (default true). If false will not re-trigger the same state just because a search/query parameter has changed. Useful for when you'd like to modify $location.search() without triggering a reload.
*/
reloadOnSearch?: boolean;
/**
* Boolean (default true). If false will reload state on everytransitions. Useful for when you'd like to restore all data to its initial state.
*/