Skip to content

Commit

Permalink
Radix, better safe than sorry.
Browse files Browse the repository at this point in the history
  • Loading branch information
redler committed Apr 24, 2012
1 parent cb5e6f7 commit 577dcf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rucksack.js
Original file line number Diff line number Diff line change
@@ -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++)
Expand Down

0 comments on commit 577dcf4

Please sign in to comment.