aboutsummaryrefslogtreecommitdiffstats
path: root/src/jqLite.js
diff options
context:
space:
mode:
authorMisko Hevery2010-10-19 15:34:58 -0700
committerMisko Hevery2010-10-19 15:56:53 -0700
commit01c7abab35dbdee711c54875424b388f8631a3c0 (patch)
tree00a4adee508a9e854881f7ecea5e779fb6d48a80 /src/jqLite.js
parente7e894a2e36e042be6d62af56b0f3126f4e4fc77 (diff)
downloadangular.js-01c7abab35dbdee711c54875424b388f8631a3c0.tar.bz2
Fix browser triggering in scenario to always do native events.
- Also fixed angular.suffix for scenarios - refactored click() to browserTrigger() - Fixed Rakefile with CSS and jQuery
Diffstat (limited to 'src/jqLite.js')
-rw-r--r--src/jqLite.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/jqLite.js b/src/jqLite.js
index a2ea286b..6c70f2a8 100644
--- a/src/jqLite.js
+++ b/src/jqLite.js
@@ -118,17 +118,6 @@ JQLite.prototype = {
});
},
- trigger: function(type) {
- if (msie) {
- this[0].fireEvent('on' + type);
- } else {
- var evnt = document.createEvent('MouseEvents'),
- element = this[0];
- evnt.initMouseEvent(type, true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, element);
- element.dispatchEvent(evnt);
- }
- },
-
replaceWith: function(replaceNode) {
this[0].parentNode.replaceChild(jqLite(replaceNode)[0], this[0]);
},