Closed GoogleCodeExporter closed 8 years ago
Neil - did this ever work before? I don't see any way to allow code from
multiple locations using goog.require, which seems to need relative paths :(
Original comment by s...@google.com
on 20 Feb 2013 at 4:43
Yes there was some clever code in blockly_uncompresed that computed the
relative path between closure-read-only and core. This must be determined at
run-time, not compile-time since the name of the root directory is unknown
(blockly, static, trunk, etc). A quick check of blockly_uncompresed shows that
it is still there, but I can't diagnose with my current Internet connection.
Original comment by danquyn...@gmail.com
on 21 Feb 2013 at 4:18
The above comment was from Neil. Yay for Chrome incognito windows that are
unexpectedly logged into some random person's account...
Original comment by danquyn...@gmail.com
on 21 Feb 2013 at 4:21
You are right, there is some clever code to detect path to local
closure-library but use a remote closure-library is not this easy.
In attachment there is a firt test of me.
In blockly_uncompressed.js i implemented a test if there are a local copy of
closure-library. If not i will incloude the remote library.
But now there are the problems. When i include the blockly files in
blockly_core_deps.js by absolute url it wont work. Because goog.addDependency
will prepend its own path. sorry but iam not realy familiar with the goog stuff.
Original comment by henn...@mst.ch
on 24 Feb 2013 at 5:12
Attachments:
This refactoring has been moved to the experimental branch. It is no longer
blocking trunk.
Original comment by neil.fra...@gmail.com
on 11 Mar 2013 at 11:06
Original issue reported on code.google.com by
s...@google.com
on 20 Feb 2013 at 2:56