tmpvar/jsdom — pull request #344 by brianmcd (2011-10-20 03:49:48+00:00)
Title: Setting text property on script elements doesn't clear old text

This includes a test case that fails on master, but passes with the 2nd commit. The HTMLScriptElement text setter doesn't clear the old script text properly.

On master:

```javascript
script.text = 'var x = 3;';
test.equal(script.text, 'var x = 3;');
script.text = 'var y = 2;';
test.equal(script.text, 'var y = 2;');
```

✖ tests - setting_and_getting_script_element_text
AssertionError: 'var x = 3;var y = 2;' == 'var y = 2;'