summaryrefslogtreecommitdiff
path: root/javascripts/batman.jquery.js
diff options
context:
space:
mode:
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'),