Mercurial > snowl
changeset 310:050b26c68a09
suppress JS strict warnings by declaring all global strands variables
author | Myk Melez <myk@mozilla.org> |
---|---|
date | Thu, 09 Oct 2008 14:02:00 -0700 |
parents | cb559976359a |
children | 328f40692bcf |
files | content/strands.js |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/content/strands.js Thu Oct 09 13:49:22 2008 -0700 +++ b/content/strands.js Thu Oct 09 14:02:00 2008 -0700 @@ -15,6 +15,10 @@ * for the specific language governing rights and limitations under the * License. * ***** END LICENSE BLOCK ***** */ + +// Suppress JS strict warnings by declaring all global strands variables. +var Future, sleep, strands, _S, strand, _frm, _gen, returns; + function temp() { var standardPush = Array.prototype.push; try {