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

Side by Side Diff: Source/devtools/front_end/utilities.js

Issue 129793013: DevTools: Implement Styles search and Computed style filter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comment Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/sidebarPane.css ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 } 127 }
128 128
129 return result; 129 return result;
130 } 130 }
131 131
132 /** 132 /**
133 * @return {string} 133 * @return {string}
134 */ 134 */
135 String.regexSpecialCharacters = function() 135 String.regexSpecialCharacters = function()
136 { 136 {
137 return "^[]{}()\\.$*+?|-,"; 137 return "^[]{}()\\.^$*+?|-,";
138 } 138 }
139 139
140 /** 140 /**
141 * @return {string} 141 * @return {string}
142 */ 142 */
143 String.prototype.escapeForRegExp = function() 143 String.prototype.escapeForRegExp = function()
144 { 144 {
145 return this.escapeCharacters(String.regexSpecialCharacters()); 145 return this.escapeCharacters(String.regexSpecialCharacters());
146 } 146 }
147 147
(...skipping 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after
1528 this._outgoingCallback(); 1528 this._outgoingCallback();
1529 } 1529 }
1530 } 1530 }
1531 1531
1532 /** 1532 /**
1533 * @param {*} value 1533 * @param {*} value
1534 */ 1534 */
1535 function suppressUnused(value) 1535 function suppressUnused(value)
1536 { 1536 {
1537 } 1537 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sidebarPane.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698