1 // ========================================================================== 2 // Project: CoreTools 3 // Copyright: ©2011 Apple Inc. 4 // ========================================================================== 5 /*globals CoreTools */ 6 7 /** 8 9 This framework contains common code shared by the SproutCore developer tools 10 including the test runner, doc viewer and welcome apps. It is not generally 11 intended for use in your own applications. 12 13 @extends SC.Object 14 */ 15 CoreTools = SC.Object.create( /** @scope CoreTools.prototype */ { 16 17 NAMESPACE: 'CoreTools', 18 VERSION: '1.0.0', 19 20 attachUrlPrefix: function(url) { 21 if(url && SC.urlPrefix) { 22 url = SC.urlPrefix + url; 23 } 24 return url; 25 } 26 }) ; 27