Skip to content

Commit 64d3fd9

Browse files
committedMar 8, 2012
fixed bug with custom breakpoints handler
1 parent ef91db1 commit 64d3fd9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎response.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -903,8 +903,10 @@
903903
}*/
904904

905905
, valid8: function(arr, prop) {
906+
907+
arr = this.breakpoints;
906908

907-
if (this.breakpoints) {
909+
if (arr) {
908910
// Filter out non numerics and sort lowest to highest:
909911
arr = isArray(arr) ? sift(arr, isFinite).sort(function(a, b){ return (a - b); }) : [];
910912
arr.length || doError('create @breakpoints');

0 commit comments

Comments
 (0)
Please sign in to comment.