summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/ajax/prototype/test/unit/fixtures/dom.js
blob: 18f62f354cabab712d37d33be602c091615694a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
var testVar = 'to be updated', testVar2 = '', documentViewportProperties;

Element.addMethods({
  hashBrowns: function(element) { return 'hash browns'; }
});

Element.addMethods("LI", {
  pancakes: function(element) { return "pancakes"; }
});

Element.addMethods("DIV", {
  waffles: function(element) { return "waffles"; }
});

Element.addMethods($w("li div"), {
  orangeJuice: function(element) { return "orange juice"; }
});