{infiniteZest}
// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
AJAX
Apple
ASP.NET
.NET
Git
Google / Android
Python / IronPython
Miscellaneous
SQL Server
AJAX Source Viewer
Slideshow of method source in a particular class. Choose a class from the Namespaces, Classes, or Methods menu item above.
Slideshow for Class 'Date'
Previous Method:

None


Current Method:

_appendPreOrPostMatch(preMatch, strBuilder)
Next Method:

_expandFormat(dtf, format)
Method '_appendPreOrPostMatch(preMatch, strBuilder)'
Method: _appendPreOrPostMatch(preMatch, strBuilder)
Method Full Name:     Date$_appendPreOrPostMatch(preMatch, strBuilder)
Class: Date
Namespace: Global (MicrosoftAjax.debug.js)
Source File: MicrosoftAjax.debug.js
1   Date._appendPreOrPostMatch = function Date$_appendPreOrPostMatch(preMatch, strBuilder) {
2     var quoteCount = 0;
3     var escaped = false;
4     for (var i = 0, il = preMatch.length; i < il; i++) {
5       var c = preMatch.charAt(i);
6       switch (c) {
7         case '\'':
8           if (escaped) strBuilder.append("'");
9           else quoteCount++;
10          escaped = false;
11          break;
12        case '\\':
13          if (escaped) strBuilder.append("\\");
14          escaped = !escaped;
15          break;
16        default:
17          strBuilder.append(c);
18          escaped = false;
19          break;
20        }
21      }
22      return quoteCount;
23    }
This is the JavaScript source for method _appendPreOrPostMatch(preMatch, strBuilder) from ASP.NET AJAX Library. Full name for this method is Date$_appendPreOrPostMatch(preMatch, strBuilder). It belongs to the class Date, which is in Global (MicrosoftAjax.debug.js) namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map