summaryrefslogtreecommitdiff
path: root/javascripts/batman.jquery.js
diff options
context:
space:
mode:
authorJohn Tajima <john@shopify.com>2013-03-12 18:03:18 +0000
committerpushmatrix <daniel.beauchamp@gmail.com>2013-03-12 19:30:12 +0100
commit4e19979f72ce5ccf11a0aae4bc74275191eb9b83 (patch)
treedd81bc20fdce74980e22f76c6486d4531598af56 /javascripts/batman.jquery.js
parent27f124a0b7af7035798053945560f0fa44956962 (diff)
update to latest batman
Diffstat (limited to 'javascripts/batman.jquery.js')
-rw-r--r--javascripts/batman.jquery.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/javascripts/batman.jquery.js b/javascripts/batman.jquery.js
index 0716b0e..30843e8 100644
--- a/javascripts/batman.jquery.js
+++ b/javascripts/batman.jquery.js
@@ -49,6 +49,9 @@
Batman.DOM.willInsertNode(child);
jQuery(parent).append(child);
return Batman.DOM.didInsertNode(child);
+ },
+ innerText: function(node) {
+ return jQuery(node).text();
}
});
@@ -66,8 +69,7 @@
};
Batman.Request.prototype._prepareOptions = function(data) {
- var options, _ref,
- _this = this;
+ var options, _ref, _this = this;
options = {
url: this.get('url'),
type: this.get('method'),