Sha256: 6fc96543e79f4814f78e9b147e496749e79c7c83f739b09690011af8e83c9213
Contents?: true
Size: 503 Bytes
Versions: 69
Compression:
Stored size: 503 Bytes
Contents
# Upgrading from v0.8 to v0.9 ## `Opal::Processor.load_asset_code` deprecated `Opal::Processor.load_asset_code(sprockets, name)` has been deprecated in favor of `Opal::Sprockets.load_asset(name, sprockets)`. ## `$console.log` instead of `pp` Previously `pp` would have forwarded the object to JS own `console.log` but now just prints calling `.inspect` on it similarly to what `p` does. ```ruby require 'pp' pp a: 1, b: {c: 3} ``` Now: ```ruby require 'console' $console.log a: 1, b: {c: 3} ```
Version data entries
69 entries across 69 versions & 1 rubygems