{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
View the source code of a Method from ASP.NET AJAX Library. Choose a method from the menu items above (Namespaces, Classes, or Methods).
Method '_unflattenProperties(properties)'
Method: _unflattenProperties(properties)
Method Full Name:     Sys$Services$_ProfileService$_unflattenProperties(properties)
Class: _ProfileService
Namespace: Sys.Services
Source File: MicrosoftAjax.debug.js
1   function Sys$Services$_ProfileService$_unflattenProperties(properties) {
2     var unflattenedProperties = {};
3     var dotIndex;
4     var val;
5     var count = 0;
6     for (var key in properties) {
7       count++;
8       val = properties[key];
9       dotIndex = key.indexOf('.');
10      if (dotIndex !== -1) {
11        var groupName = key.substr(0, dotIndex);
12        key = key.substr(dotIndex+1);
13        var group = unflattenedProperties[groupName];
14        if (!group || !Sys.Services.ProfileGroup.isInstanceOfType(group)) {
15          group = new Sys.Services.ProfileGroup();
16          unflattenedProperties[groupName] = group;
17        }
18        group[key] = val;
19      }
20      else {
21        unflattenedProperties[key] = val;
22      }
23    }
24    properties.length = count;
25    return unflattenedProperties;
26  }
This is the JavaScript source for method _unflattenProperties(properties) from ASP.NET AJAX Library. Full name for this method is Sys$Services$_ProfileService$_unflattenProperties(properties). It belongs to the class _ProfileService, which is in Sys.Services namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map