git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Web Inspector: add runtime flag to determine if inspector's source files were flattened.
[WebKit-https.git]
/
Source
/
WebCore
/
inspector
/
front-end
/
View.js
diff --git
a/Source/WebCore/inspector/front-end/View.js
b/Source/WebCore/inspector/front-end/View.js
index
7bf3c55
..
e1e601f
100644
(file)
--- a/
Source/WebCore/inspector/front-end/View.js
+++ b/
Source/WebCore/inspector/front-end/View.js
@@
-299,6
+299,8
@@
WebInspector.View.prototype = {
registerRequiredCSS: function(cssFile)
{
registerRequiredCSS: function(cssFile)
{
+ if (window.flattenImports)
+ cssFile = cssFile.split("/").reverse()[0];
this._cssFiles.push(cssFile);
},
this._cssFiles.push(cssFile);
},