Information about the Injection Reload Scripts included with CodeKit. ------------------------------------------------------------------------------------------- The scripts are heavily-modified versions of Live.js by Martin Kool (@mrtnkl). They were branched from Version 4 of Live.js. You can read about Live.js here: http://livejs.com @livejs Essentially, rather than watching for changes in resources (as Live.js does), the revised scripts simply grab all of them and reload them immediately. There are two versions of the script included with CodeKit: 1) injectionReload.js, -- pure Javascript -- Used to refresh Safari and WebKit Nightlies via the Cocoa Application Bridge 2) injectionReloadForAppleScript.js -- this version has extra escape characters and no double-quotes (") in order to include it as part of an AppleScript source string. It is NOT pure Javascript and will not run correctly unless it is first compiled by the AppleScript compiler. -- To increase performance by reducing AppleScript compiling times, all comments and extra characters have been stripped from this file. -- It is used to reload Chrome, via AppleScript. Both scripts are released under the original MIT license, copied below. The scripts were written by Bryan Jones (@bdkjones). MIT LICENSE ---------------------------------------------------------------------------- MIT License http://en.wikipedia.org/wiki/MIT_License IN SHORT: It's free. You can use it commercially. Don't sue us. Copyright (C) 2011 by Martin Kool and Q42 and Bryan Jones Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE