summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordbeam <dbeam@chromium.org>2015-05-27 12:21:46 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-27 19:22:56 +0000
commit62c4d625607102862bd43c9f353ab8629a6065a6 (patch)
tree88c6e58eee0161338ae8a0f12f618f9d2e2731e2
parent25e4d8e38f33b156b484484b4f156f402111c209 (diff)
downloadchromium_src-62c4d625607102862bd43c9f353ab8629a6065a6.zip
chromium_src-62c4d625607102862bd43c9f353ab8629a6065a6.tar.gz
chromium_src-62c4d625607102862bd43c9f353ab8629a6065a6.tar.bz2
Change some straggling **/ end JSDoc comments to */.
I fixed this before but forgot to enable the style check. TBR=brettw@chromium.org BUG=366972 Review URL: https://codereview.chromium.org/1158233002 Cr-Commit-Position: refs/heads/master@{#331620}
-rw-r--r--chrome/browser/resources/local_ntp/most_visited_single.js4
-rw-r--r--chrome/common/extensions/docs/examples/apps/calculator/app/controller.js8
-rw-r--r--chrome/common/extensions/docs/examples/apps/calculator/app/model.js8
-rw-r--r--chrome/common/extensions/docs/examples/apps/calculator/app/view.js8
-rw-r--r--chrome/common/extensions/docs/examples/apps/calculator/tests/manual.js8
-rw-r--r--chrome/common/extensions/docs/examples/apps/calculator/tests/tests.js8
-rw-r--r--chrome/common/extensions/docs/examples/tutorials/getstarted/popup.js2
-rw-r--r--chrome/common/extensions/docs/static/js/tabs.js2
-rw-r--r--remoting/tools/remote_test_helper/host.js10
-rw-r--r--remoting/tools/remote_test_helper/jsonrpc.js4
-rw-r--r--ui/file_manager/file_manager/foreground/js/ui/directory_tree.js2
11 files changed, 27 insertions, 37 deletions
diff --git a/chrome/browser/resources/local_ntp/most_visited_single.js b/chrome/browser/resources/local_ntp/most_visited_single.js
index 46d2897..90392bf 100644
--- a/chrome/browser/resources/local_ntp/most_visited_single.js
+++ b/chrome/browser/resources/local_ntp/most_visited_single.js
@@ -125,7 +125,7 @@ var countLoad = function() {
/**
* Handles postMessages coming from the host page to the iframe.
* Mostly, it dispatches every command to handleCommand.
- **/
+ */
var handlePostMessage = function(event) {
if (event.data instanceof Array) {
for (var i = 0; i < event.data.length; ++i) {
@@ -141,7 +141,7 @@ var handlePostMessage = function(event) {
* Handles a single command coming from the host page to the iframe.
* We try to keep the logic here to a minimum and just dispatch to the relevant
* functions.
- **/
+ */
var handleCommand = function(data) {
var cmd = data.cmd;
diff --git a/chrome/common/extensions/docs/examples/apps/calculator/app/controller.js b/chrome/common/extensions/docs/examples/apps/calculator/app/controller.js
index 18a13e9..cc1b0d7 100644
--- a/chrome/common/extensions/docs/examples/apps/calculator/app/controller.js
+++ b/chrome/common/extensions/docs/examples/apps/calculator/app/controller.js
@@ -1,8 +1,6 @@
-/**
- * Copyright (c) 2012 The Chromium Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- **/
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
// Checking for "chrome" availability allows this app code to be tested in
// non-Chrome browsers, which is useful for example to test touch support with
diff --git a/chrome/common/extensions/docs/examples/apps/calculator/app/model.js b/chrome/common/extensions/docs/examples/apps/calculator/app/model.js
index ba7a258..5e91453 100644
--- a/chrome/common/extensions/docs/examples/apps/calculator/app/model.js
+++ b/chrome/common/extensions/docs/examples/apps/calculator/app/model.js
@@ -1,8 +1,6 @@
-/**
- * Copyright (c) 2012 The Chromium Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- **/
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
function Model(precision) {
this.reset_({precision: precision});
diff --git a/chrome/common/extensions/docs/examples/apps/calculator/app/view.js b/chrome/common/extensions/docs/examples/apps/calculator/app/view.js
index e24b588..cf517b6 100644
--- a/chrome/common/extensions/docs/examples/apps/calculator/app/view.js
+++ b/chrome/common/extensions/docs/examples/apps/calculator/app/view.js
@@ -1,8 +1,6 @@
-/**
- * Copyright (c) 2012 The Chromium Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- **/
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
function View(window) {
this.display = window.document.querySelector('#calculator-display');
diff --git a/chrome/common/extensions/docs/examples/apps/calculator/tests/manual.js b/chrome/common/extensions/docs/examples/apps/calculator/tests/manual.js
index 61bb4e5..be063744 100644
--- a/chrome/common/extensions/docs/examples/apps/calculator/tests/manual.js
+++ b/chrome/common/extensions/docs/examples/apps/calculator/tests/manual.js
@@ -1,8 +1,6 @@
-/**
- * Copyright (c) 2012 The Chromium Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- **/
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
window.onload = function() {
var classes = {true: 'success', false: 'failure'};
diff --git a/chrome/common/extensions/docs/examples/apps/calculator/tests/tests.js b/chrome/common/extensions/docs/examples/apps/calculator/tests/tests.js
index 1439601..c3963bd 100644
--- a/chrome/common/extensions/docs/examples/apps/calculator/tests/tests.js
+++ b/chrome/common/extensions/docs/examples/apps/calculator/tests/tests.js
@@ -1,8 +1,6 @@
-/**
- * Copyright (c) 2012 The Chromium Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- **/
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
window.runTests = function(log) {
var run = window.calculatorTestRun.create();
diff --git a/chrome/common/extensions/docs/examples/tutorials/getstarted/popup.js b/chrome/common/extensions/docs/examples/tutorials/getstarted/popup.js
index cb40d7a..964f329 100644
--- a/chrome/common/extensions/docs/examples/tutorials/getstarted/popup.js
+++ b/chrome/common/extensions/docs/examples/tutorials/getstarted/popup.js
@@ -7,7 +7,7 @@
*
* @param {function(string)} callback - called when the URL of the current tab
* is found.
- **/
+ */
function getCurrentTabUrl(callback) {
// Query filter to be passed to chrome.tabs.query - see
// https://developer.chrome.com/extensions/tabs#method-query
diff --git a/chrome/common/extensions/docs/static/js/tabs.js b/chrome/common/extensions/docs/static/js/tabs.js
index 405d369..e0a174f 100644
--- a/chrome/common/extensions/docs/static/js/tabs.js
+++ b/chrome/common/extensions/docs/static/js/tabs.js
@@ -5,7 +5,7 @@
/**
* Add support for tab pannels on custom elements (tabs, header and content)
*
- **/
+ */
(function() {
function registerEvent(target, eventType, handler) {
diff --git a/remoting/tools/remote_test_helper/host.js b/remoting/tools/remote_test_helper/host.js
index 1c8b1b4..3b7d87b 100644
--- a/remoting/tools/remote_test_helper/host.js
+++ b/remoting/tools/remote_test_helper/host.js
@@ -16,7 +16,7 @@ var Action = {
/**
* Method to handle sending keypress events to the server.
* @param {Event} event The event handler event.
- **/
+ */
function handleKeyPress(event) {
jsonRpc.setLastEvent(Action.Keydown, event.keyCode, 0);
}
@@ -24,7 +24,7 @@ function handleKeyPress(event) {
/**
* Method to handle sending mouse down events to the server.
* @param {Event} event The event handler event.
- **/
+ */
function handleMouseDown(event) {
jsonRpc.setLastEvent(Action.Buttonpress, event.button, 0);
}
@@ -32,7 +32,7 @@ function handleMouseDown(event) {
/**
* Method to handle sending mouse move events to the server.
* @param {Event} event The event handler event.
- **/
+ */
function handleMouseMove(event) {
jsonRpc.setLastEvent(Action.Mousemove, event.keyCode, 0);
}
@@ -40,7 +40,7 @@ function handleMouseMove(event) {
/**
* Method to handle sending mouse wheel events to the server.
* @param {Event} event The event handler event.
- **/
+ */
function handleMouseWheel(event) {
jsonRpc.setLastEvent(Action.Mousewheel, 0, 0);
}
@@ -48,7 +48,7 @@ function handleMouseWheel(event) {
/**
* Method to handle sending drag events to the server.
* @param {Event} event The event handler event.
- **/
+ */
function handleDrag(event) {
jsonRpc.setLastEvent(Action.Drag, 0, 0);
}
diff --git a/remoting/tools/remote_test_helper/jsonrpc.js b/remoting/tools/remote_test_helper/jsonrpc.js
index 7b46339..0e7cba4 100644
--- a/remoting/tools/remote_test_helper/jsonrpc.js
+++ b/remoting/tools/remote_test_helper/jsonrpc.js
@@ -27,7 +27,7 @@ jsonRpc.clearLastEvent = function() {
* @param {list} params The method parameters to pass.
* @param {number=} opt_ident The request id.
* @return The JSON-RPC request object
- **/
+ */
jsonRpc.generateJsonRpcRequest = function(methodname, params, opt_ident) {
ident = opt_ident == undefined ? 0 : opt_ident;
var request = {
@@ -42,7 +42,7 @@ jsonRpc.generateJsonRpcRequest = function(methodname, params, opt_ident) {
/**
* Method to POST the request to the RPC server.
* @param {object} json_request The JSON request object.
- **/
+ */
jsonRpc.sendRpcRequest = function(json_request) {
jsonRpc.responseObject = null;
var xhr = new XMLHttpRequest();
diff --git a/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js b/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js
index 455a841..8de5594 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js
@@ -200,7 +200,7 @@ DirectoryItem.prototype.remove = function(child) {
* Invoked when the item is being expanded.
* @param {!Event} e Event.
* @private
- **/
+ */
DirectoryItem.prototype.onExpand_ = function(e) {
this.updateSubDirectories(
true /* recursive */,