Permalink
Browse files

Merge pull request #135 from jrburke/master

Namespace-friendly define.amd check
  • Loading branch information...
2 parents 3e4f91d + 9d7175f commit 5e1087e5a5f451dac92a3d97024b99361c084612 @quirkey committed May 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sammy.js
View
@@ -6,7 +6,7 @@
(function($, window) {
(function(factory){
// Support module loading scenarios
- if (typeof define === 'function' && define['amd']){
+ if (typeof define === 'function' && define.amd){
// AMD Anonymous Module
define(['jquery'], factory);
} else {

0 comments on commit 5e1087e

Please sign in to comment.