From 552cd5dff14fb62adc1739096e582099f202977f Mon Sep 17 00:00:00 2001 From: dfsq Date: Sat, 10 May 2014 12:22:05 +0300 Subject: [PATCH] #284 Missing AMD definition fix in the 01-into.js. This is a missing piece of the fix for #284. 01-intro.js should also be fixed otherwise this AMD definition will still be incorrect upon the project build (grunt concat task). --- src/scripts/01-intro.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/01-intro.js b/src/scripts/01-intro.js index f51e2364..6ea169cf 100644 --- a/src/scripts/01-intro.js +++ b/src/scripts/01-intro.js @@ -8,5 +8,5 @@ } else { return factory(angular); } -}(angular || null, function(angular) { +}(typeof(angular) === 'undefined' ? null : angular, function(angular) { 'use strict'; \ No newline at end of file