Permalink
Browse files

move window declaration to test

  • Loading branch information...
rmurphey committed Aug 15, 2012
1 parent 2d79ef1 commit 792d781cbd8e9575742b19ba7e239c37f7eab920
Showing with 1 addition and 1 deletion.
  1. +0 −1 app/bestPractices.js
  2. +1 −0 tests/app/bestPractices.js
View
@@ -1,5 +1,4 @@
if (typeof define !== 'function') { var define = require('amdefine')(module); }
-if (typeof window !== 'object') { var window = {};}
/**
* This file defines an object with some methods. Some of these methods are
@@ -1,5 +1,6 @@
if (typeof define !== 'function') { var define = require('amdefine')(module); }
if (typeof expect !== 'function') { var expect = require('expect.js'); }
+if (typeof window !== 'object') { var window = {}; }
define([
'app/bestPractices'

0 comments on commit 792d781

Please sign in to comment.