Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: polymer_1.0.4/bower_components/ga-api-utils/test/account-summaries/fixtures/index.js

Issue 1205703007: Add polymer 1.0 to npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Renamed folder to 1.0.4 Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: polymer_1.0.4/bower_components/ga-api-utils/test/account-summaries/fixtures/index.js
diff --git a/polymer_1.0.4/bower_components/ga-api-utils/test/account-summaries/fixtures/index.js b/polymer_1.0.4/bower_components/ga-api-utils/test/account-summaries/fixtures/index.js
new file mode 100644
index 0000000000000000000000000000000000000000..1673d68189d10a42d16f014f169a292028353995
--- /dev/null
+++ b/polymer_1.0.4/bower_components/ga-api-utils/test/account-summaries/fixtures/index.js
@@ -0,0 +1,33 @@
+// Copyright 2015 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 accountSummariesFixtureWithAccounts =
+ require('./account-summaries-with-accounts');
+
+var accountSummariesFixtureWithoutAccounts =
+ require('./account-summaries-without-accounts');
+
+var currentFixture = accountSummariesFixtureWithAccounts;
+
+module.exports = {
+ get: function() {
+ return JSON.parse(JSON.stringify(currentFixture));
+ },
+ set: function(choice) {
+ currentFixture = (choice == 'with-accounts') ?
+ accountSummariesFixtureWithAccounts :
+ accountSummariesFixtureWithoutAccounts;
+ }
+};

Powered by Google App Engine
This is Rietveld 408576698