Skip to content

Commit

Permalink
Add license header to all src files
Browse files Browse the repository at this point in the history
  • Loading branch information
karelhala committed Mar 22, 2016
1 parent 96eb6c5 commit 7746ebc
Show file tree
Hide file tree
Showing 13 changed files with 225 additions and 5 deletions.
17 changes: 17 additions & 0 deletions src/components/data-table/dataTableDirective.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
///
/// Copyright 2015-2016 Red Hat, Inc. and/or its affiliates
/// and other contributors as indicated by the @author tags.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and
/// limitations under the License.
///

///<reference path="../../tsd.d.ts"/>
import DataTableController from './dataTablecontroller';

Expand Down
18 changes: 17 additions & 1 deletion src/components/data-table/dataTablePaginationDirective.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
///<reference path="../../tsd.d.ts"/>
///
/// Copyright 2015-2016 Red Hat, Inc. and/or its affiliates
/// and other contributors as indicated by the @author tags.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and
/// limitations under the License.
///

///<reference path="../../tsd.d.ts"/>
export default class DataTablePagination implements ng.IDirective {
public link: ($scope: any, element: ng.IAugmentedJQuery, attrs: ng.IAttributes) => void;
public template = require<string>('./data-table-pagination.html');
Expand Down
17 changes: 17 additions & 0 deletions src/components/data-table/dataTablecontroller.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
///
/// Copyright 2015-2016 Red Hat, Inc. and/or its affiliates
/// and other contributors as indicated by the @author tags.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and
/// limitations under the License.
///

///<reference path="../../tsd.d.ts"/>
export default class DataTableController {
public data: any;
Expand Down
18 changes: 18 additions & 0 deletions src/components/data-table/loader.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
///
/// Copyright 2015-2016 Red Hat, Inc. and/or its affiliates
/// and other contributors as indicated by the @author tags.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and
/// limitations under the License.
///

///<reference path="../../tsd.d.ts"/>
import DataTable from './dataTableDirective';
import DataTablePagination from './dataTablePaginationDirective';

Expand Down
18 changes: 18 additions & 0 deletions src/components/loader.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
///
/// Copyright 2015-2016 Red Hat, Inc. and/or its affiliates
/// and other contributors as indicated by the @author tags.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and
/// limitations under the License.
///

///<reference path="../tsd.d.ts"/>
import toolbarMenuLoader from './toolbar-menu/loader';
import dataTableLoader from './data-table/loader';

Expand Down
18 changes: 18 additions & 0 deletions src/components/toolbar-menu/loader.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
///
/// Copyright 2015-2016 Red Hat, Inc. and/or its affiliates
/// and other contributors as indicated by the @author tags.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and
/// limitations under the License.
///

///<reference path="../../tsd.d.ts"/>
import Toolbar from './toolbarDirective';
import ToolbarButton from './toolbarButtonDirective';
import ToolbarList from './toolbarListDirective';
Expand Down
18 changes: 17 additions & 1 deletion src/components/toolbar-menu/toolbarButtonDirective.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
///<reference path="../../tsd.d.ts"/>
///
/// Copyright 2015-2016 Red Hat, Inc. and/or its affiliates
/// and other contributors as indicated by the @author tags.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and
/// limitations under the License.
///

///<reference path="../../tsd.d.ts"/>
export default class ToolbarButton implements ng.IDirective {
public replace: boolean = true;
public template = require<string>('./toolbar-button.html');
Expand Down
18 changes: 17 additions & 1 deletion src/components/toolbar-menu/toolbarController.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
///<reference path="../../tsd.d.ts"/>
///
/// Copyright 2015-2016 Red Hat, Inc. and/or its affiliates
/// and other contributors as indicated by the @author tags.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and
/// limitations under the License.
///

///<reference path="../../tsd.d.ts"/>
export default class ToolbarController {
public toolbarItems: any;
/*@ngInject*/
Expand Down
18 changes: 17 additions & 1 deletion src/components/toolbar-menu/toolbarDirective.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
///<reference path="../../tsd.d.ts"/>
///
/// Copyright 2015-2016 Red Hat, Inc. and/or its affiliates
/// and other contributors as indicated by the @author tags.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and
/// limitations under the License.
///

///<reference path="../../tsd.d.ts"/>
import ToolbarController from './toolbarController';

export default class Toolbar implements ng.IDirective {
Expand Down
18 changes: 17 additions & 1 deletion src/components/toolbar-menu/toolbarListDirective.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
///<reference path="../../tsd.d.ts"/>
///
/// Copyright 2015-2016 Red Hat, Inc. and/or its affiliates
/// and other contributors as indicated by the @author tags.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and
/// limitations under the License.
///

///<reference path="../../tsd.d.ts"/>
export default class ToolbarList implements ng.IDirective {
public replace: boolean = true;
public template = require<string>('./toolbar-list.html');
Expand Down
17 changes: 17 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
///
/// Copyright 2015-2016 Red Hat, Inc. and/or its affiliates
/// and other contributors as indicated by the @author tags.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and
/// limitations under the License.
///

///<reference path="tsd.d.ts"/>
import components from './components/loader';
import services from './services/loader';
Expand Down
17 changes: 17 additions & 0 deletions src/services/dataTableService.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
///
/// Copyright 2015-2016 Red Hat, Inc. and/or its affiliates
/// and other contributors as indicated by the @author tags.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and
/// limitations under the License.
///

///<reference path="../tsd.d.ts"/>
export interface IRowsColsResponse {
rows: any[];
Expand Down
18 changes: 18 additions & 0 deletions src/services/loader.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
///
/// Copyright 2015-2016 Red Hat, Inc. and/or its affiliates
/// and other contributors as indicated by the @author tags.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and
/// limitations under the License.
///

///<reference path="../tsd.d.ts"/>
import Greeter from './greeterService';
import DataTableService from './dataTableService';

Expand Down

0 comments on commit 7746ebc

Please sign in to comment.