| 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 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 718 | 718 |
| 719 WebInspector.reload = function() | 719 WebInspector.reload = function() |
| 720 { | 720 { |
| 721 InspectorAgent.reset(); | 721 InspectorAgent.reset(); |
| 722 window.location.reload(); | 722 window.location.reload(); |
| 723 } | 723 } |
| 724 | 724 |
| 725 new WebInspector.Main(); | 725 new WebInspector.Main(); |
| 726 | 726 |
| 727 window.DEBUG = true; | 727 window.DEBUG = true; |
| 728 |
| 729 // These methods are added for backwards compatibility with Devtools CodeSchool
extension. |
| 730 // DO NOT REMOVE |
| 731 |
| 732 WebInspector.__defineGetter__("inspectedPageURL", function() |
| 733 { |
| 734 return WebInspector.resourceTreeModel.inspectedPageURL(); |
| 735 }); |
| 736 |
| 737 WebInspector.panel = function(name) |
| 738 { |
| 739 return WebInspector.inspectorView.panel(name); |
| 740 } |
| OLD | NEW |