diff --git a/demos/checkbox.html b/demos/checkbox.html index 9c1047cb6..1260959df 100644 --- a/demos/checkbox.html +++ b/demos/checkbox.html @@ -1,4 +1,19 @@ + diff --git a/demos/index.html b/demos/index.html index 0e68d67d0..0139dc021 100644 --- a/demos/index.html +++ b/demos/index.html @@ -1,4 +1,19 @@ + diff --git a/demos/radio.html b/demos/radio.html index eadb61d34..fa4529405 100644 --- a/demos/radio.html +++ b/demos/radio.html @@ -1,4 +1,19 @@ + diff --git a/demos/ripple.html b/demos/ripple.html index 3115106fe..b1e1053b0 100644 --- a/demos/ripple.html +++ b/demos/ripple.html @@ -1,4 +1,19 @@ + diff --git a/examples/angular2/src/app.ts b/examples/angular2/src/app.ts index 88aa512bf..d86a0563d 100644 --- a/examples/angular2/src/app.ts +++ b/examples/angular2/src/app.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + import {LocationStrategy, HashLocationStrategy} from '@angular/common'; import {bootstrap} from '@angular/platform-browser-dynamic'; import {provide, enableProdMode} from '@angular/core'; diff --git a/examples/angular2/src/app/components/checkbox/checkbox-label.ts b/examples/angular2/src/app/components/checkbox/checkbox-label.ts index 7c41394de..16dd75f4e 100644 --- a/examples/angular2/src/app/components/checkbox/checkbox-label.ts +++ b/examples/angular2/src/app/components/checkbox/checkbox-label.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + import {Directive, HostBinding, Input} from 'angular2/core'; @Directive({ diff --git a/examples/angular2/src/app/components/checkbox/checkbox-wrapper.ts b/examples/angular2/src/app/components/checkbox/checkbox-wrapper.ts index c84592a9c..d2fb5a963 100644 --- a/examples/angular2/src/app/components/checkbox/checkbox-wrapper.ts +++ b/examples/angular2/src/app/components/checkbox/checkbox-wrapper.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + import {Component, HostBinding, ViewEncapsulation} from 'angular2/core'; @Component({ diff --git a/examples/angular2/src/app/components/checkbox/checkbox.ts b/examples/angular2/src/app/components/checkbox/checkbox.ts index 52cde8232..4fa22369d 100644 --- a/examples/angular2/src/app/components/checkbox/checkbox.ts +++ b/examples/angular2/src/app/components/checkbox/checkbox.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + import { AfterViewInit, ChangeDetectionStrategy, diff --git a/examples/angular2/src/app/components/home/home.ts b/examples/angular2/src/app/components/home/home.ts index e3465d21e..cf9996442 100644 --- a/examples/angular2/src/app/components/home/home.ts +++ b/examples/angular2/src/app/components/home/home.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + import {Component} from '@angular/core'; import {CheckboxComponent} from '../checkbox/checkbox'; import {CheckboxWrapperComponent} from '../checkbox/checkbox-wrapper'; diff --git a/examples/angular2/src/app/seed-app.ts b/examples/angular2/src/app/seed-app.ts index a1e69e875..5c18e1a99 100644 --- a/examples/angular2/src/app/seed-app.ts +++ b/examples/angular2/src/app/seed-app.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + import {Component} from '@angular/core'; import {Routes, ROUTER_DIRECTIVES} from '@angular/router'; diff --git a/examples/angular2/src/index.html b/examples/angular2/src/index.html index 78ac39b4a..a21c5a365 100644 --- a/examples/angular2/src/index.html +++ b/examples/angular2/src/index.html @@ -1,4 +1,19 @@ + diff --git a/examples/angular2/src/polyfills.ts b/examples/angular2/src/polyfills.ts index 70f050f7f..c0276e724 100644 --- a/examples/angular2/src/polyfills.ts +++ b/examples/angular2/src/polyfills.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + // Polyfills // These modules are what's in angular 2 bundle polyfills so don't include them // import 'es6-shim'; diff --git a/examples/angular2/src/typings.d.ts b/examples/angular2/src/typings.d.ts index 0def4d1f9..2c194480c 100644 --- a/examples/angular2/src/typings.d.ts +++ b/examples/angular2/src/typings.d.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + /* * Custom Type Definitions * When including 3rd party modules you also need to include the type definition for the module @@ -39,7 +55,7 @@ declare module "angular2/http" { } declare module 'angular2/platform/browser' { - export * from '@angular/platform-browser' + export * from '@angular/platform-browser'; } declare module 'angular2/testing' { diff --git a/examples/angular2/src/vendor.ts b/examples/angular2/src/vendor.ts index e9739d6ba..7d7209921 100644 --- a/examples/angular2/src/vendor.ts +++ b/examples/angular2/src/vendor.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + // Vendors // Angular 2 diff --git a/examples/angular2/webpack.config.js b/examples/angular2/webpack.config.js index 130e049e4..8268ac9e1 100644 --- a/examples/angular2/webpack.config.js +++ b/examples/angular2/webpack.config.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + /* eslint-disable */ var webpack = require('webpack'); var path = require('path'); diff --git a/examples/react/index.html b/examples/react/index.html index 13b2b447c..d2df58eec 100644 --- a/examples/react/index.html +++ b/examples/react/index.html @@ -1,4 +1,19 @@ + Sample App diff --git a/examples/react/server.js b/examples/react/server.js index a7a2b7204..7ca454fee 100644 --- a/examples/react/server.js +++ b/examples/react/server.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + var webpack = require('webpack'); var WebpackDevServer = require('webpack-dev-server'); var config = require('./webpack.config'); diff --git a/examples/react/src/App.js b/examples/react/src/App.js index 7422daff2..c18290762 100644 --- a/examples/react/src/App.js +++ b/examples/react/src/App.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + /* eslint-disable */ import React, {Component, PropTypes} from 'react'; diff --git a/examples/react/src/Checkbox.js b/examples/react/src/Checkbox.js index 456d675c4..0917a18d7 100644 --- a/examples/react/src/Checkbox.js +++ b/examples/react/src/Checkbox.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + /* eslint-disable */ import React, {Component, PropTypes} from 'react'; diff --git a/examples/react/src/CheckboxLabel.js b/examples/react/src/CheckboxLabel.js index 293ad5827..853213539 100644 --- a/examples/react/src/CheckboxLabel.js +++ b/examples/react/src/CheckboxLabel.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + /* eslint-disable */ import React from 'react'; diff --git a/examples/react/src/CheckboxWrapper.js b/examples/react/src/CheckboxWrapper.js index db7af80aa..8af248073 100644 --- a/examples/react/src/CheckboxWrapper.js +++ b/examples/react/src/CheckboxWrapper.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + /* eslint-disable */ import React from 'react'; diff --git a/examples/react/src/index.js b/examples/react/src/index.js index 4d91f9d7b..cd9a93b91 100644 --- a/examples/react/src/index.js +++ b/examples/react/src/index.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + /* eslint-disable */ import React from 'react'; import ReactDOM from 'react-dom'; diff --git a/examples/react/webpack.config.js b/examples/react/webpack.config.js index 93d2dcf90..be74024d6 100644 --- a/examples/react/webpack.config.js +++ b/examples/react/webpack.config.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + const path = require('path'); const webpack = require('webpack'); diff --git a/karma.conf.js b/karma.conf.js index bbe67f84d..d4cdce91a 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + const path = require('path'); const webpackConfig = require('./webpack.config')[0]; diff --git a/packages/material-design-lite/index.js b/packages/material-design-lite/index.js index 82d8f8ab4..270a16da4 100644 --- a/packages/material-design-lite/index.js +++ b/packages/material-design-lite/index.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + import BaseComponent from 'mdl-base-component'; import Checkbox from 'mdl-checkbox'; import Radio from 'mdl-radio'; diff --git a/packages/material-design-lite/material-design-lite.scss b/packages/material-design-lite/material-design-lite.scss index 01d6d4090..aff6f1187 100644 --- a/packages/material-design-lite/material-design-lite.scss +++ b/packages/material-design-lite/material-design-lite.scss @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + @import "mdl-animation/mdl-animation"; @import "mdl-checkbox/mdl-checkbox"; @import "mdl-radio/mdl-radio"; diff --git a/packages/mdl-animation/_mixins.scss b/packages/mdl-animation/_mixins.scss index 01a95376a..413c44610 100644 --- a/packages/mdl-animation/_mixins.scss +++ b/packages/mdl-animation/_mixins.scss @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + @import "./variables"; @mixin mdl-animation-linear-out-slow-in { diff --git a/packages/mdl-animation/_variables.scss b/packages/mdl-animation/_variables.scss index 4ccd06805..d2870451d 100644 --- a/packages/mdl-animation/_variables.scss +++ b/packages/mdl-animation/_variables.scss @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + $mdl-animation-linear-out-slow-in-timing-function: cubic-bezier(0, 0, .2, .1) !default; $mdl-animation-fast-out-slow-in-timing-function: cubic-bezier(.4, 0, .2, 1) !default; $mdl-animation-fast-out-linear-in-timing-function: cubic-bezier(.4, 0, 1, 1) !default; diff --git a/packages/mdl-animation/mdl-animation.scss b/packages/mdl-animation/mdl-animation.scss index 208aab9b8..414c6243b 100644 --- a/packages/mdl-animation/mdl-animation.scss +++ b/packages/mdl-animation/mdl-animation.scss @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + @import "./mixins"; .mdl-animation { diff --git a/packages/mdl-auto-init/index.js b/packages/mdl-auto-init/index.js index ccc38fc5e..688e06f8f 100644 --- a/packages/mdl-auto-init/index.js +++ b/packages/mdl-auto-init/index.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + const registry = Object.create(null); const CONSOLE_WARN = console.warn.bind(console); diff --git a/packages/mdl-base-component/adapter.js b/packages/mdl-base-component/adapter.js index edecdcbf3..9801bec40 100644 --- a/packages/mdl-base-component/adapter.js +++ b/packages/mdl-base-component/adapter.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + /** * A basic component adapter. */ diff --git a/packages/mdl-base-component/index.js b/packages/mdl-base-component/index.js index 8955bf874..1b50d49c2 100644 --- a/packages/mdl-base-component/index.js +++ b/packages/mdl-base-component/index.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + export {MDLBaseAdapter, ref} from './adapter'; /** diff --git a/packages/mdl-checkbox/_keyframes.scss b/packages/mdl-checkbox/_keyframes.scss index 6635c506c..a971808e3 100644 --- a/packages/mdl-checkbox/_keyframes.scss +++ b/packages/mdl-checkbox/_keyframes.scss @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + @import "./variables"; @keyframes md-checkbox-fade-in-background { diff --git a/packages/mdl-checkbox/_variables.scss b/packages/mdl-checkbox/_variables.scss index c31d0b031..3adb6d59f 100644 --- a/packages/mdl-checkbox/_variables.scss +++ b/packages/mdl-checkbox/_variables.scss @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + // // Theme variables // diff --git a/packages/mdl-checkbox/constants.js b/packages/mdl-checkbox/constants.js index 8d04035bb..d41b2ace7 100644 --- a/packages/mdl-checkbox/constants.js +++ b/packages/mdl-checkbox/constants.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + const ROOT = 'md-checkbox'; const ANIM = `${ROOT}--anim`; diff --git a/packages/mdl-checkbox/index.js b/packages/mdl-checkbox/index.js index 1bd167f56..199f6168a 100644 --- a/packages/mdl-checkbox/index.js +++ b/packages/mdl-checkbox/index.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + import MDLBaseComponent from 'mdl-base-component'; import MDLCheckboxMixin from './mixin'; import {cssClasses, strings, numbers} from './constants'; diff --git a/packages/mdl-checkbox/mdl-checkbox.scss b/packages/mdl-checkbox/mdl-checkbox.scss index eb80e941f..16a132cba 100644 --- a/packages/mdl-checkbox/mdl-checkbox.scss +++ b/packages/mdl-checkbox/mdl-checkbox.scss @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + @import "mdl-animation/mixins"; @import "./variables"; @import "./keyframes"; diff --git a/packages/mdl-checkbox/mixin.js b/packages/mdl-checkbox/mixin.js index a123d81e3..52ee11fbb 100644 --- a/packages/mdl-checkbox/mixin.js +++ b/packages/mdl-checkbox/mixin.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + import {cssClasses, strings, numbers} from './constants'; /** diff --git a/packages/mdl-radio/index.js b/packages/mdl-radio/index.js index 0820d4688..61f542a7a 100644 --- a/packages/mdl-radio/index.js +++ b/packages/mdl-radio/index.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + import MDLBaseComponent, { MDLBaseAdapter } from 'mdl-base-component'; diff --git a/packages/mdl-radio/mdl-radio.scss b/packages/mdl-radio/mdl-radio.scss index 8eaa9d704..4ed4e502f 100644 --- a/packages/mdl-radio/mdl-radio.scss +++ b/packages/mdl-radio/mdl-radio.scss @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + $mdl-radio-size: 20px !default; $mdl-radio-foreground-color: #333 !default; $mdl-radio-accent-color: rgba(255, 82, 82, .87) !default; diff --git a/packages/mdl-radio/mixin.js b/packages/mdl-radio/mixin.js index a371d20f6..d06600a29 100644 --- a/packages/mdl-radio/mixin.js +++ b/packages/mdl-radio/mixin.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + export const Identifier = { ROOT: 'mdl-radio', NATIVE_INPUT: 'mdl-radio__input' diff --git a/packages/mdl-ripple/animation.js b/packages/mdl-ripple/animation.js index e6f581b29..3550ff68d 100644 --- a/packages/mdl-ripple/animation.js +++ b/packages/mdl-ripple/animation.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + /** * Create a sequential animation/transition from a list of class names. */ diff --git a/packages/mdl-ripple/index.js b/packages/mdl-ripple/index.js index af206c943..ca7f065ff 100644 --- a/packages/mdl-ripple/index.js +++ b/packages/mdl-ripple/index.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + import MDLBaseComponent, { MDLBaseAdapter, ref } from 'mdl-base-component'; diff --git a/packages/mdl-ripple/mdl-ripple.scss b/packages/mdl-ripple/mdl-ripple.scss index 31e1438ae..1a8270f0b 100644 --- a/packages/mdl-ripple/mdl-ripple.scss +++ b/packages/mdl-ripple/mdl-ripple.scss @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + @keyframes radius-in { from { transform: scale(0); diff --git a/packages/mdl-ripple/mixin.js b/packages/mdl-ripple/mixin.js index 7f70f69d3..2451f042c 100644 --- a/packages/mdl-ripple/mixin.js +++ b/packages/mdl-ripple/mixin.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + import SequentialAnimation from './animation'; export const Class = { diff --git a/test/unit/index.js b/test/unit/index.js index 1070734ac..d7855ff46 100644 --- a/test/unit/index.js +++ b/test/unit/index.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + /** @fileoverview Bootstraps the test bundle for karma-webpack. */ const testsContext = require.context('.', true, /\.test\.js$/); diff --git a/test/unit/mdl-auto-init/mdl-auto-init.test.js b/test/unit/mdl-auto-init/mdl-auto-init.test.js index ee8ff8861..658755f18 100644 --- a/test/unit/mdl-auto-init/mdl-auto-init.test.js +++ b/test/unit/mdl-auto-init/mdl-auto-init.test.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + import bel from 'bel'; import td from 'testdouble'; import test from 'tape'; diff --git a/webpack.config.js b/webpack.config.js index 184b0fae9..08831d1e3 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,3 +1,19 @@ +/** + * Copyright 2016 Google Inc. All Rights Reserved. + * + * 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. + */ + 'use strict'; const path = require('path');