Permalink
Browse files

We no longer need cached data to be a separate copy.

  • Loading branch information...
1 parent 5086b9b commit 59d489fa9aaf2b0549b49701d3a9e8571369a363 @int3 int3 committed Apr 21, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 browser/frontend.coffee
  2. +1 −1 src/util.coffee
View
@@ -34,7 +34,7 @@ $.ajax "browser/mini-rt.tar", {
untar new util.BytesArray(util.bytestr_to_array data), ((percent, path, file) ->
update_bar(percent, path)
- raw_cache[path] = file[0..]
+ raw_cache[path] = file
base_dir = 'third_party/classes/'
[base,ext] = path.split('.')
unless ext is 'class'
View
@@ -91,7 +91,7 @@ class root.BytesArray
return rv
get_int: (bytes_count) ->
- uint = root.uint2int @get_uint(bytes_count), bytes_count
+ root.uint2int @get_uint(bytes_count), bytes_count
read: (bytes_count) ->
rv = @raw_array[@start+@_index...@start+@_index+bytes_count]

0 comments on commit 59d489f

Please sign in to comment.