2011-07-17 08:05:43 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
2010-10-23 05:46:51 +00:00
|
|
|
/**
|
|
|
|
|
* Here is the problem: http://bugs.jquery.com/ticket/7292
|
|
|
|
|
* basically jQuery treats change event on some browsers (IE) as a
|
2010-12-10 21:55:18 +00:00
|
|
|
* special event and changes it form 'change' to 'click/keydown' and
|
2010-10-23 05:46:51 +00:00
|
|
|
* few others. This horrible hack removes the special treatment
|
|
|
|
|
*/
|
2013-04-18 19:50:49 +00:00
|
|
|
if (window._jQuery) _jQuery.event.special.change = undefined;
|
|
|
|
|
|
|
|
|
|
if (window.bindJQuery) bindJQuery();
|
2010-10-23 05:46:51 +00:00
|
|
|
|
2011-10-07 18:27:49 +00:00
|
|
|
beforeEach(function() {
|
2013-04-18 19:50:49 +00:00
|
|
|
// all this stuff is not needed for module tests, where jqlite and publishExternalAPI and jqLite are not global vars
|
|
|
|
|
if (window.publishExternalAPI) {
|
|
|
|
|
publishExternalAPI(angular);
|
|
|
|
|
|
|
|
|
|
// workaround for IE bug https://plus.google.com/104744871076396904202/posts/Kqjuj6RSbbT
|
|
|
|
|
// IE overwrite window.jQuery with undefined because of empty jQuery var statement, so we have to
|
|
|
|
|
// correct this, but only if we are not running in jqLite mode
|
|
|
|
|
if (!_jqLiteMode && _jQuery !== jQuery) {
|
|
|
|
|
jQuery = _jQuery;
|
|
|
|
|
}
|
2011-09-15 02:54:00 +00:00
|
|
|
|
2013-04-18 19:50:49 +00:00
|
|
|
// This resets global id counter;
|
|
|
|
|
uid = ['0', '0', '0'];
|
|
|
|
|
|
|
|
|
|
// reset to jQuery or default to us.
|
|
|
|
|
bindJQuery();
|
2011-09-15 02:54:00 +00:00
|
|
|
}
|
|
|
|
|
|
2011-09-08 20:56:29 +00:00
|
|
|
|
2013-04-18 19:50:49 +00:00
|
|
|
angular.element(document.body).html('').removeData();
|
2010-05-11 03:24:20 +00:00
|
|
|
});
|
|
|
|
|
|
2011-11-04 19:33:01 +00:00
|
|
|
afterEach(function() {
|
|
|
|
|
if (this.$injector) {
|
2011-11-12 23:23:30 +00:00
|
|
|
var $rootScope = this.$injector.get('$rootScope');
|
2013-04-12 05:39:15 +00:00
|
|
|
var $rootElement = this.$injector.get('$rootElement');
|
2011-11-12 23:23:30 +00:00
|
|
|
var $log = this.$injector.get('$log');
|
2011-11-04 19:33:01 +00:00
|
|
|
// release the injector
|
|
|
|
|
dealoc($rootScope);
|
2013-04-12 05:39:15 +00:00
|
|
|
dealoc($rootElement);
|
2011-01-26 04:44:44 +00:00
|
|
|
|
2011-11-04 19:33:01 +00:00
|
|
|
// check $log mock
|
|
|
|
|
$log.assertEmpty && $log.assertEmpty();
|
|
|
|
|
}
|
2010-12-02 04:29:54 +00:00
|
|
|
|
2011-11-04 19:33:01 +00:00
|
|
|
// complain about uncleared jqCache references
|
2010-12-02 04:29:54 +00:00
|
|
|
var count = 0;
|
2012-05-09 23:27:15 +00:00
|
|
|
|
|
|
|
|
// This line should be enabled as soon as this bug is fixed: http://bugs.jquery.com/ticket/11775
|
|
|
|
|
//var cache = jqLite.cache;
|
2013-04-18 19:50:49 +00:00
|
|
|
var cache = angular.element.cache;
|
2012-05-09 23:27:15 +00:00
|
|
|
|
|
|
|
|
forEachSorted(cache, function(expando, key){
|
2013-04-18 19:50:49 +00:00
|
|
|
angular.forEach(expando.data, function(value, key){
|
2012-05-09 23:27:15 +00:00
|
|
|
count ++;
|
2011-03-23 16:33:29 +00:00
|
|
|
if (value.$element) {
|
|
|
|
|
dump('LEAK', key, value.$id, sortedHtml(value.$element));
|
|
|
|
|
} else {
|
2013-04-18 19:50:49 +00:00
|
|
|
dump('LEAK', key, angular.toJson(value));
|
2011-03-23 16:33:29 +00:00
|
|
|
}
|
2010-12-02 04:29:54 +00:00
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
if (count) {
|
2012-05-04 04:43:55 +00:00
|
|
|
throw new Error('Found jqCache references that were not deallocated! count: ' + count);
|
2010-12-02 04:29:54 +00:00
|
|
|
}
|
2013-04-18 19:50:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
// copied from Angular.js
|
|
|
|
|
// we need these two methods here so that we can run module tests with wrapped angular.js
|
|
|
|
|
function sortedKeys(obj) {
|
|
|
|
|
var keys = [];
|
|
|
|
|
for (var key in obj) {
|
|
|
|
|
if (obj.hasOwnProperty(key)) {
|
|
|
|
|
keys.push(key);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return keys.sort();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function forEachSorted(obj, iterator, context) {
|
|
|
|
|
var keys = sortedKeys(obj);
|
|
|
|
|
for ( var i = 0; i < keys.length; i++) {
|
|
|
|
|
iterator.call(context, obj[keys[i]], keys[i]);
|
|
|
|
|
}
|
|
|
|
|
return keys;
|
|
|
|
|
}
|
2011-11-04 19:33:01 +00:00
|
|
|
});
|
2010-01-06 00:36:58 +00:00
|
|
|
|
2010-03-30 21:55:04 +00:00
|
|
|
|
2010-12-02 04:29:54 +00:00
|
|
|
function dealoc(obj) {
|
2013-04-18 19:50:49 +00:00
|
|
|
var jqCache = angular.element.cache;
|
2011-02-10 19:20:49 +00:00
|
|
|
if (obj) {
|
2013-04-18 19:50:49 +00:00
|
|
|
if (angular.isElement(obj)) {
|
|
|
|
|
cleanup(angular.element(obj));
|
2011-11-23 05:28:39 +00:00
|
|
|
} else {
|
|
|
|
|
for(var key in jqCache) {
|
|
|
|
|
var value = jqCache[key];
|
2012-05-09 23:27:15 +00:00
|
|
|
if (value.data && value.data.$scope == obj) {
|
2011-11-23 05:28:39 +00:00
|
|
|
delete jqCache[key];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-05-09 23:27:15 +00:00
|
|
|
}
|
2011-11-23 05:28:39 +00:00
|
|
|
|
2012-05-09 23:27:15 +00:00
|
|
|
function cleanup(element) {
|
2013-06-19 19:52:50 +00:00
|
|
|
element.off().removeData();
|
feat($sce): new $sce service for Strict Contextual Escaping.
$sce is a service that provides Strict Contextual Escaping services to AngularJS.
Strict Contextual Escaping
--------------------------
Strict Contextual Escaping (SCE) is a mode in which AngularJS requires
bindings in certain contexts to result in a value that is marked as safe
to use for that context One example of such a context is binding
arbitrary html controlled by the user via ng-bind-html-unsafe. We
refer to these contexts as privileged or SCE contexts.
As of version 1.2, Angular ships with SCE enabled by default.
Note: When enabled (the default), IE8 in quirks mode is not supported.
In this mode, IE8 allows one to execute arbitrary javascript by the use
of the expression() syntax. Refer
http://blogs.msdn.com/b/ie/archive/2008/10/16/ending-expressions.aspx
to learn more about them. You can ensure your document is in standards
mode and not quirks mode by adding <!doctype html> to the top of your
HTML document.
SCE assists in writing code in way that (a) is secure by default and (b)
makes auditing for security vulnerabilities such as XSS, clickjacking,
etc. a lot easier.
Here's an example of a binding in a privileged context:
<input ng-model="userHtml">
<div ng-bind-html-unsafe="{{userHtml}}">
Notice that ng-bind-html-unsafe is bound to {{userHtml}} controlled by
the user. With SCE disabled, this application allows the user to render
arbitrary HTML into the DIV. In a more realistic example, one may be
rendering user comments, blog articles, etc. via bindings. (HTML is
just one example of a context where rendering user controlled input
creates security vulnerabilities.)
For the case of HTML, you might use a library, either on the client side, or on the server side,
to sanitize unsafe HTML before binding to the value and rendering it in the document.
How would you ensure that every place that used these types of bindings was bound to a value that
was sanitized by your library (or returned as safe for rendering by your server?) How can you
ensure that you didn't accidentally delete the line that sanitized the value, or renamed some
properties/fields and forgot to update the binding to the sanitized value?
To be secure by default, you want to ensure that any such bindings are disallowed unless you can
determine that something explicitly says it's safe to use a value for binding in that
context. You can then audit your code (a simple grep would do) to ensure that this is only done
for those values that you can easily tell are safe - because they were received from your server,
sanitized by your library, etc. You can organize your codebase to help with this - perhaps
allowing only the files in a specific directory to do this. Ensuring that the internal API
exposed by that code doesn't markup arbitrary values as safe then becomes a more manageable task.
In the case of AngularJS' SCE service, one uses $sce.trustAs (and
shorthand methods such as $sce.trustAsHtml, etc.) to obtain values that
will be accepted by SCE / privileged contexts.
In privileged contexts, directives and code will bind to the result of
$sce.getTrusted(context, value) rather than to the value directly.
Directives use $sce.parseAs rather than $parse to watch attribute
bindings, which performs the $sce.getTrusted behind the scenes on
non-constant literals.
As an example, ngBindHtmlUnsafe uses $sce.parseAsHtml(binding
expression). Here's the actual code (slightly simplified):
var ngBindHtmlUnsafeDirective = ['$sce', function($sce) {
return function(scope, element, attr) {
scope.$watch($sce.parseAsHtml(attr.ngBindHtmlUnsafe), function(value) {
element.html(value || '');
});
};
}];
Impact on loading templates
---------------------------
This applies both to the ng-include directive as well as templateUrl's
specified by directives.
By default, Angular only loads templates from the same domain and
protocol as the application document. This is done by calling
$sce.getTrustedResourceUrl on the template URL. To load templates from
other domains and/or protocols, you may either either whitelist them or
wrap it into a trusted value.
*Please note*:
The browser's Same Origin Policy and Cross-Origin Resource Sharing
(CORS) policy apply in addition to this and may further restrict whether
the template is successfully loaded. This means that without the right
CORS policy, loading templates from a different domain won't work on all
browsers. Also, loading templates from file:// URL does not work on
some browsers.
This feels like too much overhead for the developer?
----------------------------------------------------
It's important to remember that SCE only applies to interpolation expressions.
If your expressions are constant literals, they're automatically trusted
and you don't need to call $sce.trustAs on them.
e.g. <div ng-html-bind-unsafe="'<b>implicitly trusted</b>'"></div> just works.
Additionally, a[href] and img[src] automatically sanitize their URLs and
do not pass them through $sce.getTrusted. SCE doesn't play a role here.
The included $sceDelegate comes with sane defaults to allow you to load
templates in ng-include from your application's domain without having to
even know about SCE. It blocks loading templates from other domains or
loading templates over http from an https served document. You can
change these by setting your own custom whitelists and blacklists for
matching such URLs.
This significantly reduces the overhead. It is far easier to pay the
small overhead and have an application that's secure and can be audited
to verify that with much more ease than bolting security onto an
application later.
2013-05-14 21:51:39 +00:00
|
|
|
// Note: We aren't using element.contents() here. Under jQuery, element.contents() can fail
|
|
|
|
|
// for IFRAME elements. jQuery explicitly uses (element.contentDocument ||
|
|
|
|
|
// element.contentWindow.document) and both properties are null for IFRAMES that aren't attached
|
|
|
|
|
// to a document.
|
|
|
|
|
var children = element[0].childNodes || [];
|
|
|
|
|
for ( var i = 0; i < children.length; i++) {
|
2013-04-18 19:50:49 +00:00
|
|
|
cleanup(angular.element(children[i]));
|
2012-05-09 23:27:15 +00:00
|
|
|
}
|
2011-02-10 19:20:49 +00:00
|
|
|
}
|
2010-12-02 04:29:54 +00:00
|
|
|
}
|
|
|
|
|
|
2011-11-29 20:11:32 +00:00
|
|
|
/**
|
|
|
|
|
* @param {DOMElement} element
|
|
|
|
|
* @param {boolean=} showNgClass
|
|
|
|
|
*/
|
2010-10-27 05:02:24 +00:00
|
|
|
function sortedHtml(element, showNgClass) {
|
2010-01-06 00:36:58 +00:00
|
|
|
var html = "";
|
2011-01-08 06:02:23 +00:00
|
|
|
forEach(jqLite(element), function toString(node) {
|
2012-12-04 17:24:15 +00:00
|
|
|
|
2010-01-06 00:36:58 +00:00
|
|
|
if (node.nodeName == "#text") {
|
2010-10-19 04:20:47 +00:00
|
|
|
html += node.nodeValue.
|
|
|
|
|
replace(/&(\w+[&;\W])?/g, function(match, entity){return entity?match:'&';}).
|
|
|
|
|
replace(/</g, '<').
|
|
|
|
|
replace(/>/g, '>');
|
2012-12-04 17:24:15 +00:00
|
|
|
} else if (node.nodeName == "#comment") {
|
|
|
|
|
html += '<!--' + node.nodeValue + '-->';
|
2010-01-06 00:36:58 +00:00
|
|
|
} else {
|
2011-02-10 19:20:49 +00:00
|
|
|
html += '<' + (node.nodeName || '?NOT_A_NODE?').toLowerCase();
|
2010-01-06 00:36:58 +00:00
|
|
|
var attributes = node.attributes || [];
|
|
|
|
|
var attrs = [];
|
2010-10-27 05:02:24 +00:00
|
|
|
var className = node.className || '';
|
|
|
|
|
if (!showNgClass) {
|
|
|
|
|
className = className.replace(/ng-[\w-]+\s*/g, '');
|
|
|
|
|
}
|
|
|
|
|
className = trim(className);
|
|
|
|
|
if (className) {
|
|
|
|
|
attrs.push(' class="' + className + '"');
|
|
|
|
|
}
|
2010-01-06 00:36:58 +00:00
|
|
|
for(var i=0; i<attributes.length; i++) {
|
2011-04-09 07:16:40 +00:00
|
|
|
if (i>0 && attributes[i] == attributes[i-1])
|
|
|
|
|
continue; //IE9 creates dupes. Ignore them!
|
|
|
|
|
|
2010-01-06 00:36:58 +00:00
|
|
|
var attr = attributes[i];
|
2012-03-09 08:00:05 +00:00
|
|
|
if(attr.name.match(/^ng[\:\-]/) ||
|
2013-02-26 04:43:27 +00:00
|
|
|
(attr.value || attr.value == '') &&
|
2010-01-06 00:36:58 +00:00
|
|
|
attr.value !='null' &&
|
|
|
|
|
attr.value !='auto' &&
|
|
|
|
|
attr.value !='false' &&
|
|
|
|
|
attr.value !='inherit' &&
|
2011-04-19 23:34:49 +00:00
|
|
|
(attr.value !='0' || attr.name =='value') &&
|
2010-01-06 00:36:58 +00:00
|
|
|
attr.name !='loop' &&
|
2010-04-21 19:50:05 +00:00
|
|
|
attr.name !='complete' &&
|
2010-01-06 00:36:58 +00:00
|
|
|
attr.name !='maxLength' &&
|
|
|
|
|
attr.name !='size' &&
|
2010-07-23 20:54:12 +00:00
|
|
|
attr.name !='class' &&
|
2010-01-06 00:36:58 +00:00
|
|
|
attr.name !='start' &&
|
|
|
|
|
attr.name !='tabIndex' &&
|
2010-04-12 21:28:15 +00:00
|
|
|
attr.name !='style' &&
|
2010-01-06 00:36:58 +00:00
|
|
|
attr.name.substr(0, 6) != 'jQuery') {
|
|
|
|
|
// in IE we need to check for all of these.
|
2012-12-04 23:02:29 +00:00
|
|
|
if (/ng-\d+/.exec(attr.name) ||
|
|
|
|
|
attr.name == 'getElementById' ||
|
2011-06-17 20:48:22 +00:00
|
|
|
// IE7 has `selected` in attributes
|
2012-12-04 23:02:29 +00:00
|
|
|
attr.name == 'selected' ||
|
2011-06-17 20:48:22 +00:00
|
|
|
// IE7 adds `value` attribute to all LI tags
|
2012-12-04 23:02:29 +00:00
|
|
|
(node.nodeName == 'LI' && attr.name == 'value') ||
|
|
|
|
|
// IE8 adds bogus rowspan=1 and colspan=1 to TD elements
|
|
|
|
|
(node.nodeName == 'TD' && attr.name == 'rowSpan' && attr.value == '1') ||
|
|
|
|
|
(node.nodeName == 'TD' && attr.name == 'colSpan' && attr.value == '1')) {
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
attrs.push(' ' + attr.name + '="' + attr.value + '"');
|
2010-01-06 00:36:58 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
attrs.sort();
|
|
|
|
|
html += attrs.join('');
|
2010-04-15 21:17:33 +00:00
|
|
|
if (node.style) {
|
|
|
|
|
var style = [];
|
|
|
|
|
if (node.style.cssText) {
|
2011-01-08 06:02:23 +00:00
|
|
|
forEach(node.style.cssText.split(';'), function(value){
|
2010-04-15 21:17:33 +00:00
|
|
|
value = trim(value);
|
|
|
|
|
if (value) {
|
2010-04-21 19:50:05 +00:00
|
|
|
style.push(lowercase(value));
|
2010-04-15 21:17:33 +00:00
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
for(var css in node.style){
|
|
|
|
|
var value = node.style[css];
|
|
|
|
|
if (isString(value) && isString(css) && css != 'cssText' && value && (1*css != css)) {
|
2010-04-21 19:50:05 +00:00
|
|
|
var text = lowercase(css + ': ' + value);
|
2010-04-19 21:36:41 +00:00
|
|
|
if (value != 'false' && indexOf(style, text) == -1) {
|
2010-04-15 21:17:33 +00:00
|
|
|
style.push(text);
|
|
|
|
|
}
|
|
|
|
|
}
|
2010-04-19 21:41:36 +00:00
|
|
|
}
|
2010-04-13 02:16:30 +00:00
|
|
|
style.sort();
|
2010-04-22 22:50:20 +00:00
|
|
|
var tmp = style;
|
|
|
|
|
style = [];
|
2011-01-08 06:02:23 +00:00
|
|
|
forEach(tmp, function(value){
|
2010-04-22 22:50:20 +00:00
|
|
|
if (!value.match(/^max[^\-]/))
|
|
|
|
|
style.push(value);
|
|
|
|
|
});
|
2010-04-15 21:17:33 +00:00
|
|
|
if (style.length) {
|
|
|
|
|
html += ' style="' + style.join('; ') + ';"';
|
|
|
|
|
}
|
2010-04-12 21:28:15 +00:00
|
|
|
}
|
2010-01-06 00:36:58 +00:00
|
|
|
html += '>';
|
|
|
|
|
var children = node.childNodes;
|
|
|
|
|
for(var j=0; j<children.length; j++) {
|
2010-03-30 03:25:42 +00:00
|
|
|
toString(children[j]);
|
2010-01-06 00:36:58 +00:00
|
|
|
}
|
|
|
|
|
html += '</' + node.nodeName.toLowerCase() + '>';
|
|
|
|
|
}
|
2010-04-12 21:28:15 +00:00
|
|
|
});
|
2010-01-06 00:36:58 +00:00
|
|
|
return html;
|
2010-04-04 00:04:36 +00:00
|
|
|
}
|
2010-01-06 00:36:58 +00:00
|
|
|
|
2011-07-15 00:50:06 +00:00
|
|
|
|
2011-11-01 00:54:09 +00:00
|
|
|
// TODO(vojta): migrate these helpers into jasmine matchers
|
2011-11-11 02:47:47 +00:00
|
|
|
/**a
|
2011-07-15 00:50:06 +00:00
|
|
|
* This method is a cheap way of testing if css for a given node is not set to 'none'. It doesn't
|
|
|
|
|
* actually test if an element is displayed by the browser. Be aware!!!
|
|
|
|
|
*/
|
2010-04-08 20:43:40 +00:00
|
|
|
function isCssVisible(node) {
|
2010-03-31 20:57:25 +00:00
|
|
|
var display = node.css('display');
|
feat(ngAnimate): complete rewrite of animations
- ngAnimate directive is gone and was replaced with class based animations/transitions
- support for triggering animations on css class additions and removals
- done callback was added to all animation apis
- $animation and $animator where merged into a single $animate service with api:
- $animate.enter(element, parent, after, done);
- $animate.leave(element, done);
- $animate.move(element, parent, after, done);
- $animate.addClass(element, className, done);
- $animate.removeClass(element, className, done);
BREAKING CHANGE: too many things changed, we'll write up a separate doc with migration instructions
2013-06-18 17:59:57 +00:00
|
|
|
return !node.hasClass('ng-hide') && display != 'none';
|
2010-02-04 21:27:56 +00:00
|
|
|
}
|
|
|
|
|
|
2010-01-06 00:36:58 +00:00
|
|
|
function assertHidden(node) {
|
2012-01-03 04:50:17 +00:00
|
|
|
if (isCssVisible(node)) {
|
|
|
|
|
throw new Error('Node should be hidden but was visible: ' + angular.module.ngMock.dump(node));
|
|
|
|
|
}
|
2010-01-06 00:36:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function assertVisible(node) {
|
2012-01-03 04:50:17 +00:00
|
|
|
if (!isCssVisible(node)) {
|
|
|
|
|
throw new Error('Node should be visible but was hidden: ' + angular.module.ngMock.dump(node));
|
|
|
|
|
}
|
2010-01-06 00:36:58 +00:00
|
|
|
}
|
|
|
|
|
|
2011-12-15 09:10:09 +00:00
|
|
|
function provideLog($provide) {
|
|
|
|
|
$provide.factory('log', function() {
|
|
|
|
|
var messages = [];
|
|
|
|
|
|
|
|
|
|
function log(msg) {
|
|
|
|
|
messages.push(msg);
|
|
|
|
|
return msg;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
log.toString = function() {
|
|
|
|
|
return messages.join('; ');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
log.toArray = function() {
|
|
|
|
|
return messages;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
log.reset = function() {
|
|
|
|
|
messages = [];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
log.fn = function(msg) {
|
|
|
|
|
return function() {
|
|
|
|
|
log(msg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
log.$$log = true;
|
|
|
|
|
|
|
|
|
|
return log;
|
|
|
|
|
});
|
|
|
|
|
}
|
2011-12-20 08:58:26 +00:00
|
|
|
|
|
|
|
|
function pending() {
|
|
|
|
|
dump('PENDING');
|
|
|
|
|
};
|
2012-05-03 04:59:55 +00:00
|
|
|
|
|
|
|
|
function trace(name) {
|
|
|
|
|
dump(new Error(name).stack);
|
|
|
|
|
}
|
2013-07-23 18:00:42 +00:00
|
|
|
|
|
|
|
|
var karmaDump = dump;
|
|
|
|
|
window.dump = function () {
|
2013-08-07 18:20:51 +00:00
|
|
|
karmaDump.apply(undefined, map(arguments, function(arg) {
|
|
|
|
|
return angular.mock.dump(arg);
|
|
|
|
|
}));
|
2013-07-23 18:00:42 +00:00
|
|
|
};
|