Skip to content

Commit

Permalink
Allow global interchange configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Humphreys committed Nov 25, 2013
1 parent 3bef33d commit 396203c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/foundation/foundation.interchange.js
Expand Up @@ -15,7 +15,7 @@
load_attr : 'interchange',

named_queries : {
'default' : Foundation.media_queries.small,
'default' : 'only screen',
small : Foundation.media_queries.small,
medium : Foundation.media_queries.medium,
large : Foundation.media_queries.large,
Expand Down Expand Up @@ -71,6 +71,7 @@
Foundation.inherit(this, 'throttle');

this.data_attr = 'data-' + this.settings.load_attr;
$.extend(true, this.settings, method, options);

this.bindings(method, options);
this.load('images');
Expand Down

0 comments on commit 396203c

Please sign in to comment.