Updated Branches: refs/heads/master 65b59c7e4 -> 24969fba7
Fixing CB-1503 - Adding Apache Headers to Globalization Plugin Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/24969fba Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/24969fba Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/24969fba Branch: refs/heads/master Commit: 24969fba7ec490b3637569e573f7037015524c01 Parents: 65b59c7 Author: Joe Bowser <bows...@apache.org> Authored: Wed Sep 19 11:10:00 2012 -0700 Committer: Joe Bowser <bows...@apache.org> Committed: Wed Sep 19 11:10:00 2012 -0700 ---------------------------------------------------------------------- lib/common/plugin/GlobalizationError.js | 24 +++++++++++++++++++++++- lib/common/plugin/globalization.js | 21 +++++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/24969fba/lib/common/plugin/GlobalizationError.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/GlobalizationError.js b/lib/common/plugin/GlobalizationError.js index 0b965f6..d2dcced 100644 --- a/lib/common/plugin/GlobalizationError.js +++ b/lib/common/plugin/GlobalizationError.js @@ -1,3 +1,25 @@ +/* + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + * +*/ + + /** * Globalization error object * @@ -16,4 +38,4 @@ GlobalizationError.FORMATTING_ERROR = 1; GlobalizationError.PARSING_ERROR = 2; GlobalizationError.PATTERN_ERROR = 3; -module.exports = GlobalizationError; \ No newline at end of file +module.exports = GlobalizationError; http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/24969fba/lib/common/plugin/globalization.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/globalization.js b/lib/common/plugin/globalization.js index 01e511b..2166bb1 100644 --- a/lib/common/plugin/globalization.js +++ b/lib/common/plugin/globalization.js @@ -1,3 +1,24 @@ +/* + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 exec = require('cordova/exec'), GlobalizationError = require('cordova/plugin/GlobalizationError');