Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

rename public methods

  • Loading branch information...
commit 6130fd1d2faaf8d99260f0ccc9fb323da0bd2e3c 1 parent bf83b37
@fntzr authored
View
3  src/prototype/dom/dom.js
@@ -685,8 +685,7 @@
for (var i = 0, node; node = nodes[i]; i++)
element.appendChild(node);
} else {
- element.innerHTML = '';
- element.appendChild(document.createTextNode(content.stripScripts()));
+ element.innerHTML = content.stripScripts();
}
} else {
element.innerHTML = content.stripScripts();
View
6 src/prototype/lang/hash.js
@@ -449,9 +449,9 @@ var Hash = Class.create(Enumerable, (function() {
return {
initialize: initialize,
_each: _each,
- each_key: each_key,
- each_value: each_value,
- each_pair: each_pair,
+ eachKey: eachKey,
+ eachValue: eachValue,
+ eachPair: eachPair,
set: set,
get: get,
unset: unset,
View
1  test/unit/hash_test.js
@@ -4,7 +4,6 @@ new Test.Unit.Runner({
this.assertEqual('B', h.set('b', 'B'));
this.assertHashEqual({a: 'A', b: 'B'}, h);
-
this.assertUndefined(h.set('c'));
this.assertHashEqual({a: 'A', b: 'B', c: undefined}, h);
},
Please sign in to comment.
Something went wrong with that request. Please try again.