| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 1764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1775 ScriptMirror.prototype.id = function() { | 1775 ScriptMirror.prototype.id = function() { |
| 1776 return this.script_.id; | 1776 return this.script_.id; |
| 1777 }; | 1777 }; |
| 1778 | 1778 |
| 1779 | 1779 |
| 1780 ScriptMirror.prototype.source = function() { | 1780 ScriptMirror.prototype.source = function() { |
| 1781 return this.script_.source; | 1781 return this.script_.source; |
| 1782 }; | 1782 }; |
| 1783 | 1783 |
| 1784 | 1784 |
| 1785 ScriptMirror.prototype.sourceMappingURL = function() { |
| 1786 return this.script_.sourceMappingURL(); |
| 1787 }; |
| 1788 |
| 1789 |
| 1785 ScriptMirror.prototype.lineOffset = function() { | 1790 ScriptMirror.prototype.lineOffset = function() { |
| 1786 return this.script_.line_offset; | 1791 return this.script_.line_offset; |
| 1787 }; | 1792 }; |
| 1788 | 1793 |
| 1789 | 1794 |
| 1790 ScriptMirror.prototype.columnOffset = function() { | 1795 ScriptMirror.prototype.columnOffset = function() { |
| 1791 return this.script_.column_offset; | 1796 return this.script_.column_offset; |
| 1792 }; | 1797 }; |
| 1793 | 1798 |
| 1794 | 1799 |
| (...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2373 } | 2378 } |
| 2374 if (!NUMBER_IS_FINITE(value)) { | 2379 if (!NUMBER_IS_FINITE(value)) { |
| 2375 if (value > 0) { | 2380 if (value > 0) { |
| 2376 return 'Infinity'; | 2381 return 'Infinity'; |
| 2377 } else { | 2382 } else { |
| 2378 return '-Infinity'; | 2383 return '-Infinity'; |
| 2379 } | 2384 } |
| 2380 } | 2385 } |
| 2381 return value; | 2386 return value; |
| 2382 } | 2387 } |
| OLD | NEW |