mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
updated notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
0337e15e42
commit
08acd3b614
@ -26,8 +26,7 @@ Sharp
|
|||||||
|
|
||||||
To build sharp for a specific version of node:
|
To build sharp for a specific version of node:
|
||||||
cd ./node_modules/sharp/
|
cd ./node_modules/sharp/
|
||||||
node-gyp --target=v5.7.0 rebuild # v5.7.0 is the version
|
nw-gyp rebuild --target=0.17.4 --arch=x64
|
||||||
# of node used in nw.js
|
|
||||||
|
|
||||||
|
|
||||||
Speedup loading of app
|
Speedup loading of app
|
||||||
|
|||||||
@ -6,13 +6,13 @@ Most of the system is loaded via browser context RequireJS loader, in
|
|||||||
node/nw context node-specific stuff is loaded with a second node-enabled
|
node/nw context node-specific stuff is loaded with a second node-enabled
|
||||||
RequireJS instance or node require.
|
RequireJS instance or node require.
|
||||||
|
|
||||||
This is done to:
|
The ideal solution would be to use one require that sees both the browser
|
||||||
- Minimize the difference between pure browser, nw and node
|
and node contexts, the problem is exactly in this, the browser requirejs
|
||||||
versions
|
does not see either node or node modules while the node require loads code
|
||||||
- Enable devtools introspection on most modules.
|
that is not visible to devtools unless it is running at that exact moment.
|
||||||
NOTE: his is mostly due to the inability to view the node
|
|
||||||
context in nw.js devtools, when this is resolved this
|
Thus we are forced to use both mode requirejs loaders which may be
|
||||||
point should be revised.
|
confusing at times.
|
||||||
|
|
||||||
|
|
||||||
Different loaders:
|
Different loaders:
|
||||||
|
|||||||
@ -2081,7 +2081,6 @@ var FileSystemWriterActions = actions.Actions({
|
|||||||
.replace(/%I/, I)
|
.replace(/%I/, I)
|
||||||
|
|
||||||
// totals...
|
// totals...
|
||||||
// XXX revise...
|
|
||||||
.replace(/%t/, len)
|
.replace(/%t/, len)
|
||||||
.replace(/%T/, total_len)
|
.replace(/%T/, total_len)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user