Skip to content
Browse files

Merge pull request #3 from redler/patch-1

parseInt() radix
  • Loading branch information...
2 parents cb5e6f7 + 577dcf4 commit b4ae8d3f6f3b52f183f259a20fe84efb95f796ac @heroic 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 b4ae8d3

Please sign in to comment.
Something went wrong with that request. Please try again.