| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). | 3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). |
| 4 * Copyright (C) 2009 Joseph Pecoraro | 4 * Copyright (C) 2009 Joseph Pecoraro |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 814 new WebInspector.Main(); | 814 new WebInspector.Main(); |
| 815 | 815 |
| 816 // These methods are added for backwards compatibility with Devtools CodeSchool
extension. | 816 // These methods are added for backwards compatibility with Devtools CodeSchool
extension. |
| 817 // DO NOT REMOVE | 817 // DO NOT REMOVE |
| 818 | 818 |
| 819 WebInspector.__defineGetter__("inspectedPageURL", function() | 819 WebInspector.__defineGetter__("inspectedPageURL", function() |
| 820 { | 820 { |
| 821 return WebInspector.resourceTreeModel.inspectedPageURL(); | 821 return WebInspector.resourceTreeModel.inspectedPageURL(); |
| 822 }); | 822 }); |
| 823 | 823 |
| 824 /** |
| 825 * @param {string} name |
| 826 * @return {?WebInspector.Panel} |
| 827 */ |
| 824 WebInspector.panel = function(name) | 828 WebInspector.panel = function(name) |
| 825 { | 829 { |
| 826 return WebInspector.inspectorView.panel(name); | 830 return WebInspector.inspectorView.panel(name); |
| 827 } | 831 } |
| OLD | NEW |