Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
Conflicts:
	example/package.json
	test/Scripts/typings/leaflet/leaflet.d.ts
  • Loading branch information
erikvullings committed Aug 21, 2015
2 parents a72c896 + d743e43 commit 68dac36
Show file tree
Hide file tree
Showing 195 changed files with 145,000 additions and 2,942 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ csCompTests/csComp/
csComp/js/
csComp/node_modules/
csServerComp/node_modules/
csServerComp/Classes/**/*.d.ts
csServerComp/Classes/**/*.js
csServerComp/ServerComponents/**/*.d.ts
csServerComp/ServerComponents/**/*.js
csDataGatherer/node_modules/
Expand Down Expand Up @@ -48,3 +50,4 @@ test/csComp/spec/**/*.spec.js
csDataGatherer/public/data/
test/csComp/spec/directives/**/*.spec.js
OfflineSearch
example/public/data/projects/DynamicExample/
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sudo: false
sudo: required
language: node_js
node_js:
- "0.12"
Expand Down
Binary file modified Excel2Map/excel2map_example.xlsm
Binary file not shown.
Binary file modified Excel2Map/excel2map_leeg.xlsm
Binary file not shown.
Binary file added Nieuwsbrief/High Level Architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Nieuwsbrief/High Level Architecture.pptx
Binary file not shown.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ Just copy the example folder to a public folder and open the public\index.html f
* Code review
* Other guidelines

#### Testing ####



```
karma start test/karma.conf.js
```

### Who do I talk to? ###

* Repo owner or admin
36 changes: 25 additions & 11 deletions csComp/Scripts/typings/angular-translate/angular-translate.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@

/// <reference path="../angularjs/angular.d.ts" />

declare module "angular-translate" {
var _: string;
export = _;
}

declare module angular.translate {

interface ITranslatePartialLoaderService {
addPart(name: string): ITranslatePartialLoaderService;
deletePart(name: string, removeData?: boolean): ITranslatePartialLoaderService;
isPartAvailable(name: string): boolean;
}


interface ITranslationTable {
[key: string]: string | ITranslationTable;
[key: string]: any;
}

interface ILanguageKeyAlias {
Expand All @@ -26,12 +25,27 @@ declare module angular.translate {
set(name: string, value: string): void;
}

interface ISTaticFilesLoaderOptions {
interface IStaticFilesLoaderOptions {
prefix: string;
suffix: string;
key?: string;
}

interface IPartialLoader<T> {
addPart(name : string, priority? : number) : T;
deletePart(name : string) : T;
isPartAvailable(name : string) : boolean;
}

interface ITranslatePartialLoaderService extends IPartialLoader<ITranslatePartialLoaderService> {
getRegisteredParts() : Array<string>;
isPartLoaded(name : string, lang : string) : boolean;
}

interface ITranslatePartialLoaderProvider extends angular.IServiceProvider, IPartialLoader<ITranslatePartialLoaderProvider> {
setPart(lang : string, part : string, table : ITranslationTable) : ITranslatePartialLoaderProvider;
}

interface ITranslateService {
(translationId: string, interpolateParams?: any, interpolationId?: string): angular.IPromise<string>;
(translationId: string[], interpolateParams?: any, interpolationId?: string): angular.IPromise<{ [key: string]: string }>;
Expand Down Expand Up @@ -78,8 +92,8 @@ declare module angular.translate {
storageKey(): string;
storageKey(key: string): void; // JeroMiya - the library should probably return ITranslateProvider but it doesn't here
useUrlLoader(url: string): ITranslateProvider;
useStaticFilesLoader(options: ISTaticFilesLoaderOptions): ITranslateProvider;
useLoader(loaderFactory: string, options: any): ITranslateProvider;
useStaticFilesLoader(options: IStaticFilesLoaderOptions): ITranslateProvider;
useLoader(loaderFactory: string, options?: any): ITranslateProvider;
useLocalStorage(): ITranslateProvider;
useCookieStorage(): ITranslateProvider;
useStorage(storageFactory: any): ITranslateProvider;
Expand Down
Loading

0 comments on commit 68dac36

Please sign in to comment.