Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 39c78d6

Browse files
author
Eric Koleda
committed
Small fixes to formatting.
1 parent b696d8f commit 39c78d6

File tree

11 files changed

+77
-10
lines changed

11 files changed

+77
-10
lines changed

step06/public/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function onSignIn(user) {
5555
$('#profile .email').text(profile.getEmail());
5656
}
5757

58-
// TODO: Add spreadsheet control handlers.
58+
// Spreadsheet control handlers.
5959

6060
$(function() {
6161
$('button[rel="create"]').click(function() {

step07/public/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function onSignIn(user) {
5555
$('#profile .email').text(profile.getEmail());
5656
}
5757

58-
// TODO: Add spreadsheet control handlers.
58+
// Spreadsheet control handlers.
5959

6060
$(function() {
6161
$('button[rel="create"]').click(function() {

step07/sheets.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
Copyright 2016 Google, Inc.
3+
4+
Licensed to the Apache Software Foundation (ASF) under one or more contributor
5+
license agreements. See the NOTICE file distributed with this work for
6+
additional information regarding copyright ownership. The ASF licenses this
7+
file to you under the Apache License, Version 2.0 (the "License"); you may not
8+
use this file except in compliance with the License. You may obtain a copy of
9+
the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing, software
14+
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16+
License for the specific language governing permissions and limitations under
17+
the License.
18+
*/
119

220
var google = require('googleapis');
321
var googleAuth = require('google-auth-library');

step08/public/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function onSignIn(user) {
5555
$('#profile .email').text(profile.getEmail());
5656
}
5757

58-
// TODO: Add spreadsheet control handlers.
58+
// Spreadsheet control handlers.
5959

6060
$(function() {
6161
$('button[rel="create"]').click(function() {

step08/sheets.js

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
Copyright 2016 Google, Inc.
3+
4+
Licensed to the Apache Software Foundation (ASF) under one or more contributor
5+
license agreements. See the NOTICE file distributed with this work for
6+
additional information regarding copyright ownership. The ASF licenses this
7+
file to you under the Apache License, Version 2.0 (the "License"); you may not
8+
use this file except in compliance with the License. You may obtain a copy of
9+
the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing, software
14+
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16+
License for the specific language governing permissions and limitations under
17+
the License.
18+
*/
119

220
var google = require('googleapis');
321
var googleAuth = require('google-auth-library');
@@ -71,7 +89,6 @@ SheetsHelper.prototype.createSpreadsheet = function(title, callback) {
7189
});
7290
};
7391

74-
7592
var COLUMNS = [
7693
{ field: 'id', header: 'ID' },
7794
{ field: 'customerName', header: 'Customer Name'},

step09/public/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function onSignIn(user) {
5555
$('#profile .email').text(profile.getEmail());
5656
}
5757

58-
// TODO: Add spreadsheet control handlers.
58+
// Spreadsheet control handlers.
5959

6060
$(function() {
6161
$('button[rel="create"]').click(function() {

step09/routes.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ router.post('/spreadsheets', function(req, res, next) {
109109

110110
// Route for syncing spreadsheet.
111111

112-
113112
router.post('/spreadsheets/:id/sync', function(req, res, next) {
114113
var auth = req.get('Authorization');
115114
if (!auth) {

step09/sheets.js

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
Copyright 2016 Google, Inc.
3+
4+
Licensed to the Apache Software Foundation (ASF) under one or more contributor
5+
license agreements. See the NOTICE file distributed with this work for
6+
additional information regarding copyright ownership. The ASF licenses this
7+
file to you under the Apache License, Version 2.0 (the "License"); you may not
8+
use this file except in compliance with the License. You may obtain a copy of
9+
the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing, software
14+
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16+
License for the specific language governing permissions and limitations under
17+
the License.
18+
*/
119

220
var google = require('googleapis');
321
var googleAuth = require('google-auth-library');
@@ -71,7 +89,6 @@ SheetsHelper.prototype.createSpreadsheet = function(title, callback) {
7189
});
7290
};
7391

74-
7592
var COLUMNS = [
7693
{ field: 'id', header: 'ID' },
7794
{ field: 'customerName', header: 'Customer Name'},

step10/public/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function onSignIn(user) {
5555
$('#profile .email').text(profile.getEmail());
5656
}
5757

58-
// TODO: Add spreadsheet control handlers.
58+
// Spreadsheet control handlers.
5959

6060
$(function() {
6161
$('button[rel="create"]').click(function() {

step10/routes.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ router.post('/spreadsheets', function(req, res, next) {
109109

110110
// Route for syncing spreadsheet.
111111

112-
113112
router.post('/spreadsheets/:id/sync', function(req, res, next) {
114113
var auth = req.get('Authorization');
115114
if (!auth) {

0 commit comments

Comments
 (0)