Permalink
Browse files

Radix, better safe than sorry.

  • Loading branch information...
1 parent cb5e6f7 commit 577dcf47fc99faec415d3cb5e4c583e23d085ad4 @redler redler committed Apr 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 rucksack.js
View
2 rucksack.js
@@ -1,6 +1,6 @@
$.fn.rucksack = function(options){
options = options || {}
- var self = this, els = self.children(), b = parseInt(options.width) || 960, cl = options.class || 'rucksack';
+ var self = this, els = self.children(), b = parseInt(options.width,10) || 960, cl = options.class || 'rucksack';
function knapsack(a, b){
for(var k = 1; k <= a.length; k++)
for (var y = 1; y <= b; y++)

0 comments on commit 577dcf4

Please sign in to comment.