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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/resources/DOMStorageModel.js

Issue 1907263002: DevTools: Fix all outstanding JavaScript style issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove yoda disable. fix throw parens Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Nokia Inc. All rights reserved. 2 * Copyright (C) 2008 Nokia Inc. All rights reserved.
3 * Copyright (C) 2013 Samsung Electronics. All rights reserved. 3 * Copyright (C) 2013 Samsung Electronics. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 /** 339 /**
340 * @param {!WebInspector.Target} target 340 * @param {!WebInspector.Target} target
341 * @return {!WebInspector.DOMStorageModel} 341 * @return {!WebInspector.DOMStorageModel}
342 */ 342 */
343 WebInspector.DOMStorageModel.fromTarget = function(target) 343 WebInspector.DOMStorageModel.fromTarget = function(target)
344 { 344 {
345 if (!target[WebInspector.DOMStorageModel._symbol]) 345 if (!target[WebInspector.DOMStorageModel._symbol])
346 target[WebInspector.DOMStorageModel._symbol] = new WebInspector.DOMStora geModel(target); 346 target[WebInspector.DOMStorageModel._symbol] = new WebInspector.DOMStora geModel(target);
347 347
348 return target[WebInspector.DOMStorageModel._symbol]; 348 return target[WebInspector.DOMStorageModel._symbol];
349 } 349 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698