Merge "Word spellings have been corrected"
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
(function()
|
(function()
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Make sure dependecies are defined in the global scope, throw
|
// Make sure dependencies are defined in the global scope, throw
|
||||||
// an error if they are not.
|
// an error if they are not.
|
||||||
//
|
//
|
||||||
if ((!window.trc) ||
|
if ((!window.trc) ||
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
//
|
//
|
||||||
// We use YUI to build our controller menu make sure we have the
|
// We use YUI to build our controller menu make sure we have the
|
||||||
// proper dependecies loaded, call init when we do...
|
// proper dependencies loaded, call init when we do...
|
||||||
//
|
//
|
||||||
|
|
||||||
function InitController()
|
function InitController()
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
(function()
|
(function()
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Make sure dependecies are defined in the global scope, throw
|
// Make sure dependencies are defined in the global scope, throw
|
||||||
// an error if they are not.
|
// an error if they are not.
|
||||||
//
|
//
|
||||||
if ((!window.trc) ||
|
if ((!window.trc) ||
|
||||||
@@ -91,7 +91,7 @@
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
//
|
//
|
||||||
// The controler doesn't work **at all** in IE 7
|
// The controller doesn't work **at all** in IE 7
|
||||||
// don't even show it.
|
// don't even show it.
|
||||||
//
|
//
|
||||||
case 7:
|
case 7:
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
(function()
|
(function()
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Make sure dependecies are defined in the global scope, throw
|
// Make sure dependencies are defined in the global scope, throw
|
||||||
// an error if they are not.
|
// an error if they are not.
|
||||||
//
|
//
|
||||||
if ((!window.trc) ||
|
if ((!window.trc) ||
|
||||||
@@ -199,7 +199,7 @@ trc.schema.sampleManager = {
|
|||||||
code /* Code text to set (string) */)
|
code /* Code text to set (string) */)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Preprocess the txt if necessary...
|
// Preprocess the text if necessary...
|
||||||
//
|
//
|
||||||
var ieVersion = trc.util.browser.detectIEVersion();
|
var ieVersion = trc.util.browser.detectIEVersion();
|
||||||
if ((ieVersion > -1) &&
|
if ((ieVersion > -1) &&
|
||||||
@@ -253,7 +253,7 @@ trc.schema.sampleManager = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
//
|
//
|
||||||
// Retrives source code text
|
// Retrieves source code text
|
||||||
//
|
//
|
||||||
_getCodeText : function (codeData /* Info for the code to get*/)
|
_getCodeText : function (codeData /* Info for the code to get*/)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -208,7 +208,7 @@ trc.util.text = {
|
|||||||
tabs : new RegExp ("\t","g"), /* All tabs */
|
tabs : new RegExp ("\t","g"), /* All tabs */
|
||||||
|
|
||||||
//
|
//
|
||||||
// We need this because microsoft browsers before IE 7, connot
|
// We need this because microsoft browsers before IE 7, cannot
|
||||||
// display pre-formatted text correctly win unix style line
|
// display pre-formatted text correctly win unix style line
|
||||||
// endings.
|
// endings.
|
||||||
//
|
//
|
||||||
@@ -478,14 +478,14 @@ trc.util.net = {
|
|||||||
|
|
||||||
trc.util.yui = {
|
trc.util.yui = {
|
||||||
//
|
//
|
||||||
// A list of dependecies to be passed to the YUI loader. This is
|
// A list of dependencies to be passed to the YUI loader. This is
|
||||||
// essentially a hash set: dep->dep.
|
// essentially a hash set: dep->dep.
|
||||||
//
|
//
|
||||||
_deps : new Object(),
|
_deps : new Object(),
|
||||||
|
|
||||||
//
|
//
|
||||||
// An array of callback functions, these should be called when all
|
// An array of callback functions, these should be called when all
|
||||||
// dependecies are loaded.
|
// dependencies are loaded.
|
||||||
//
|
//
|
||||||
_callbacks : new Array(),
|
_callbacks : new Array(),
|
||||||
|
|
||||||
@@ -517,7 +517,7 @@ trc.util.yui = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Load YUI dependecies...
|
// Load YUI dependencies...
|
||||||
//
|
//
|
||||||
var loader = new YAHOO.util.YUILoader({
|
var loader = new YAHOO.util.YUILoader({
|
||||||
require: required,
|
require: required,
|
||||||
@@ -533,11 +533,11 @@ trc.util.yui = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
//
|
//
|
||||||
// Called after all dependecies have been loaded
|
// Called after all dependencies have been loaded
|
||||||
//
|
//
|
||||||
_depsLoaded : function() {
|
_depsLoaded : function() {
|
||||||
//
|
//
|
||||||
// Dependecies are loaded let everyone know.
|
// Dependencies are loaded let everyone know.
|
||||||
//
|
//
|
||||||
for (var i=0;i<this._callbacks.length;i++)
|
for (var i=0;i<this._callbacks.length;i++)
|
||||||
{
|
{
|
||||||
@@ -546,7 +546,7 @@ trc.util.yui = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
//
|
//
|
||||||
// Request that one or more YUI dependecies are loaded.
|
// Request that one or more YUI dependencies are loaded.
|
||||||
//
|
//
|
||||||
loadYUIDeps : function (deps, /*An array of dep strings */
|
loadYUIDeps : function (deps, /*An array of dep strings */
|
||||||
callback /*A function to call when deps are loaded*/
|
callback /*A function to call when deps are loaded*/
|
||||||
|
|||||||
Reference in New Issue
Block a user