mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-01-25 02:07:54 +00:00
Fix some typos (most found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
@@ -53,7 +53,7 @@ package com.adobe.air.filesystem
|
||||
}
|
||||
else if(os.indexOf("Linux") > -1)
|
||||
{
|
||||
//todo: need to impliment Linux
|
||||
//todo: need to implement Linux
|
||||
}
|
||||
|
||||
return v;
|
||||
|
||||
@@ -110,7 +110,7 @@ package com.adobe.air.filesystem
|
||||
timer.addEventListener(TimerEvent.TIMER, onTimerEvent,false,0, true);
|
||||
}
|
||||
|
||||
//we reinitialize the hash everytime we start watching
|
||||
//we reinitialize the hash every time we start watching
|
||||
volumes = new Dictionary();
|
||||
|
||||
var v:Array = FileUtil.getRootDirectories();
|
||||
|
||||
@@ -35,9 +35,9 @@ package com.adobe.net
|
||||
import flash.net.URLLoader;
|
||||
|
||||
/**
|
||||
* Class that provides a dynamic implimentation of the URLLoader class.
|
||||
* Class that provides a dynamic implementation of the URLLoader class.
|
||||
*
|
||||
* This class provides no API implimentations. However, since the class is
|
||||
* This class provides no API implementations. However, since the class is
|
||||
* declared as dynamic, it can be used in place of URLLoader, and allow
|
||||
* you to dynamically attach properties to it (which URLLoader does not allow).
|
||||
*
|
||||
|
||||
@@ -169,7 +169,7 @@ package com.adobe.net
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the prefered extension for the given mimetype.
|
||||
* Returns the preferred extension for the given mimetype.
|
||||
*/
|
||||
public function getExtension(mimetype:String):String
|
||||
{
|
||||
|
||||
@@ -64,7 +64,7 @@ package com.adobe.net
|
||||
* URI syntax (e.g. custom query syntax or special handling of
|
||||
* non-hierarchical URI's), this class can be fully subclassed. If you
|
||||
* intended to subclass URI, please see the source code for complete
|
||||
* documation on protected members and protected fuctions.</p>
|
||||
* documentation on protected members and protected functions.</p>
|
||||
*
|
||||
* @langversion ActionScript 3.0
|
||||
* @playerversion Flash 9.0
|
||||
@@ -203,7 +203,7 @@ package com.adobe.net
|
||||
|
||||
|
||||
/**
|
||||
* @private Private initializiation.
|
||||
* @private Private initialization.
|
||||
*/
|
||||
protected function initialize() : void
|
||||
{
|
||||
@@ -332,7 +332,7 @@ package com.adobe.net
|
||||
* well formed. Sometimes characters that should have been escaped
|
||||
* are not, and those situations would break a regexp pattern. This
|
||||
* function attempts to be smart about what it is parsing based on
|
||||
* location of characters relative to eachother. This function has
|
||||
* location of characters relative to each other. This function has
|
||||
* been proven through real-world use to parse the vast majority
|
||||
* of URI's correctly.
|
||||
*
|
||||
@@ -835,7 +835,7 @@ package com.adobe.net
|
||||
* to be properly escaped and unescaped, it must be split into its
|
||||
* component parts. This accessor escapes/unescapes the entire query
|
||||
* part without regard for it's component parts. This has the
|
||||
* possibliity of leaving the query string in an ambiguious state in
|
||||
* possibliity of leaving the query string in an ambiguous state in
|
||||
* regards to its syntax. If the contents of the query part are
|
||||
* important, it is recommended that get/setQueryValue() or
|
||||
* get/setQueryByMap() are used instead.</p>
|
||||
@@ -2340,7 +2340,7 @@ package com.adobe.net
|
||||
* <p>This function is intended to be a helper function.
|
||||
* It is not all-knowning and will probably make mistakes
|
||||
* when attempting to parse a string of unknown origin. If
|
||||
* your applicaiton is receiving input from the user, your
|
||||
* your application is receiving input from the user, your
|
||||
* application should already have a good idea what the user
|
||||
* should be entering, and your application should be
|
||||
* pre-processing the user's input to make sure it is well formed
|
||||
@@ -2354,7 +2354,7 @@ package com.adobe.net
|
||||
* on a URI that was created from unknownToURI() may not match
|
||||
* the input string due to the difference in escaping.</p>
|
||||
*
|
||||
* @param unknown a potental URI string that should be parsed
|
||||
* @param unknown a potential URI string that should be parsed
|
||||
* and loaded into this object.
|
||||
* @param defaultScheme if it is determined that the passed string
|
||||
* looks like a URI, but it is missing the scheme part, this
|
||||
|
||||
@@ -104,7 +104,7 @@ package com.adobe.serialization.json
|
||||
}
|
||||
|
||||
/**
|
||||
* Escapes a string accoding to the JSON specification.
|
||||
* Escapes a string according to the JSON specification.
|
||||
*
|
||||
* @param str The string to be escaped
|
||||
* @return The string with escaped special characters
|
||||
|
||||
@@ -47,7 +47,7 @@ package com.adobe.serialization.json {
|
||||
/**
|
||||
* Constructs a new JSONParseError.
|
||||
*
|
||||
* @param message The error message that occured during parsing
|
||||
* @param message The error message that occurred during parsing
|
||||
* @langversion ActionScript 3.0
|
||||
* @playerversion Flash 9.0
|
||||
* @tiptext
|
||||
|
||||
@@ -74,7 +74,7 @@ package com.adobe.utils
|
||||
* @param Optional parameter indicating whether the search should be case
|
||||
* sensitive
|
||||
*
|
||||
* @return A int that represents that month represented by the specifed
|
||||
* @return A int that represents that month represented by the specified
|
||||
* short name.
|
||||
*
|
||||
* @langversion ActionScript 3.0
|
||||
@@ -114,7 +114,7 @@ package com.adobe.utils
|
||||
*
|
||||
* @param m A full month name.
|
||||
*
|
||||
* @return A int that represents that month represented by the specifed
|
||||
* @return A int that represents that month represented by the specified
|
||||
* full month name.
|
||||
*
|
||||
* @langversion ActionScript 3.0
|
||||
@@ -154,7 +154,7 @@ package com.adobe.utils
|
||||
*
|
||||
* @param m A short day name.
|
||||
*
|
||||
* @return A int that represents that short day represented by the specifed
|
||||
* @return A int that represents that short day represented by the specified
|
||||
* full month name.
|
||||
*
|
||||
* @langversion ActionScript 3.0
|
||||
@@ -194,7 +194,7 @@ package com.adobe.utils
|
||||
*
|
||||
* @param m A full day name.
|
||||
*
|
||||
* @return A int that represents that full day represented by the specifed
|
||||
* @return A int that represents that full day represented by the specified
|
||||
* full month name.
|
||||
*
|
||||
* @langversion ActionScript 3.0
|
||||
@@ -675,7 +675,7 @@ package com.adobe.utils
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts a date into just befor midnight.
|
||||
* Converts a date into just before midnight.
|
||||
*/
|
||||
public static function makeNight(d:Date):Date
|
||||
{
|
||||
|
||||
@@ -79,7 +79,7 @@ package com.adobe.utils
|
||||
* @param input The String whose beginning and ending whitespace will
|
||||
* will be removed.
|
||||
*
|
||||
* @returns A String with whitespace removed from the begining and end
|
||||
* @returns A String with whitespace removed from the beginning and end
|
||||
*
|
||||
* @langversion ActionScript 3.0
|
||||
* @playerversion Flash 9.0
|
||||
@@ -95,7 +95,7 @@ package com.adobe.utils
|
||||
*
|
||||
* @param input The String whose beginning whitespace will will be removed.
|
||||
*
|
||||
* @returns A String with whitespace removed from the begining
|
||||
* @returns A String with whitespace removed from the beginning
|
||||
*
|
||||
* @langversion ActionScript 3.0
|
||||
* @playerversion Flash 9.0
|
||||
@@ -236,4 +236,4 @@ package com.adobe.utils
|
||||
return (s != null && s.length > 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
20
clients/flex/jquery-1.4.2.js
vendored
20
clients/flex/jquery-1.4.2.js
vendored
@@ -519,7 +519,7 @@ jQuery.extend({
|
||||
|
||||
noop: function() {},
|
||||
|
||||
// Evalulates a script in a global context
|
||||
// Evaluates a script in a global context
|
||||
globalEval: function( data ) {
|
||||
if ( data && rnotwhite.test(data) ) {
|
||||
// Inspired by code by Andrea Giammarchi
|
||||
@@ -855,7 +855,7 @@ function now() {
|
||||
htmlSerialize: !!div.getElementsByTagName("link").length,
|
||||
|
||||
// Get the style information from getAttribute
|
||||
// (IE uses .cssText insted)
|
||||
// (IE uses .cssText instead)
|
||||
style: /red/.test( a.getAttribute("style") ),
|
||||
|
||||
// Make sure that URLs aren't manipulated
|
||||
@@ -1310,7 +1310,7 @@ jQuery.fn.extend({
|
||||
classNames = value.split( rspace );
|
||||
|
||||
while ( (className = classNames[ i++ ]) ) {
|
||||
// check each className given, space seperated list
|
||||
// check each className given, space separated list
|
||||
state = isBool ? state : !self.hasClass( className );
|
||||
self[ state ? "addClass" : "removeClass" ]( className );
|
||||
}
|
||||
@@ -1364,7 +1364,7 @@ jQuery.fn.extend({
|
||||
var option = options[ i ];
|
||||
|
||||
if ( option.selected ) {
|
||||
// Get the specifc value for the option
|
||||
// Get the specific value for the option
|
||||
value = jQuery(option).val();
|
||||
|
||||
// We don't need an array for one selects
|
||||
@@ -2636,7 +2636,7 @@ var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^
|
||||
baseHasDuplicate = true;
|
||||
|
||||
// Here we check if the JavaScript engine is using some sort of
|
||||
// optimization where it does not always call our comparision
|
||||
// optimization where it does not always call our comparison
|
||||
// function. If that is the case, discard the hasDuplicate value.
|
||||
// Thus far that includes Google Chrome.
|
||||
[0, 0].sort(function(){
|
||||
@@ -3415,7 +3415,7 @@ if ( document.documentElement.compareDocumentPosition ) {
|
||||
};
|
||||
}
|
||||
|
||||
// Utility function for retreiving the text value of an array of DOM nodes
|
||||
// Utility function for retrieving the text value of an array of DOM nodes
|
||||
function getText( elems ) {
|
||||
var ret = "", elem;
|
||||
|
||||
@@ -4149,7 +4149,7 @@ jQuery.fn.extend({
|
||||
if ( !jQuery.support.noCloneEvent && !jQuery.isXMLDoc(this) ) {
|
||||
// IE copies events bound via attachEvent when
|
||||
// using cloneNode. Calling detachEvent on the
|
||||
// clone will also remove the events from the orignal
|
||||
// clone will also remove the events from the original
|
||||
// In order to get around this, we use innerHTML.
|
||||
// Unfortunately, this means some modifications to
|
||||
// attributes in IE that are actually only stored
|
||||
@@ -4886,7 +4886,7 @@ jQuery.each( "ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".sp
|
||||
jQuery.extend({
|
||||
|
||||
get: function( url, data, callback, type ) {
|
||||
// shift arguments if data argument was omited
|
||||
// shift arguments if data argument was omitted
|
||||
if ( jQuery.isFunction( data ) ) {
|
||||
type = type || callback;
|
||||
callback = data;
|
||||
@@ -4911,7 +4911,7 @@ jQuery.extend({
|
||||
},
|
||||
|
||||
post: function( url, data, callback, type ) {
|
||||
// shift arguments if data argument was omited
|
||||
// shift arguments if data argument was omitted
|
||||
if ( jQuery.isFunction( data ) ) {
|
||||
type = type || callback;
|
||||
callback = data;
|
||||
@@ -4948,7 +4948,7 @@ jQuery.extend({
|
||||
// Create the request object; Microsoft failed to properly
|
||||
// implement the XMLHttpRequest in IE7 (can't request local files),
|
||||
// so we use the ActiveXObject when it is available
|
||||
// This function can be overriden by calling jQuery.ajaxSetup
|
||||
// This function can be overridden by calling jQuery.ajaxSetup
|
||||
xhr: window.XMLHttpRequest && (window.location.protocol !== "file:" || !window.ActiveXObject) ?
|
||||
function() {
|
||||
return new window.XMLHttpRequest();
|
||||
|
||||
@@ -362,7 +362,7 @@
|
||||
function updateWrapped( options, wrapped ) {
|
||||
// Build the wrapped content.
|
||||
options._wrap = build( options, true,
|
||||
// Suport imperative scenario in which options.wrapped can be set to a selector or an HTML string.
|
||||
// Support imperative scenario in which options.wrapped can be set to a selector or an HTML string.
|
||||
jQuery.isArray( wrapped ) ? wrapped : [htmlExpr.test( wrapped ) ? wrapped : jQuery( wrapped ).html()]
|
||||
).join("");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user