This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/mobile/edp-build-config.js b/mobile/edp-build-config.js | |
index 46a89f1..449d739 100644 | |
--- a/mobile/edp-build-config.js | |
+++ b/mobile/edp-build-config.js | |
@@ -15,36 +15,25 @@ exports.getProcessors = function () { | |
return [ | |
new StylusCompiler({ | |
+ stylus: require( './node_modules/archer/node_modules/stylus/' ), | |
compileOptions: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/wap/edp-build-config.js b/wap/edp-build-config.js | |
index 023e8f5..8a376e9 100644 | |
--- a/wap/edp-build-config.js | |
+++ b/wap/edp-build-config.js | |
@@ -3,53 +3,30 @@ exports.input = __dirname; | |
var path = require( 'path' ); | |
exports.output = path.resolve( __dirname, 'output' ); | |
-var moduleEntries = 'html,htm,phtml,tpl,vm,js'; | |
-var pageEntries = 'html,htm,phtml,tpl,vm'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11:55:14: (Libpurple: hello-image) upload image md5 = 77bebc418bdf746fb44163d8f65d1f48, len = 113518 | |
11:55:14: (Libpurple: hello-image) in image_process_request, type = 22 | |
11:55:14: (Libpurple: hello-image) write-len 36 | |
11:55:14: (Libpurple: hello-image) write-len 36 | |
11:55:14: (Libpurple: hello-image) size_to_read = 36 | |
11:55:14: (Libpurple: hello-image) cursize = 0 | |
11:55:14: (Libpurple: hello-image) len = 36, errno = 17 | |
11:55:14: (Libpurple: hello-image) size_to_read = 40 | |
11:55:14: (Libpurple: hello-image) cursize = 0 | |
11:55:14: (Libpurple: hello-image) len = 40, errno = 17 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17:37:05: (Libpurple: hello-image) download image type = 1, md5 = c5ce7689438e5ee92c5942d4885fc198 | |
17:37:05: (Libpurple: hello-image) in image_process_request, type = 27 | |
17:37:05: (Libpurple: hello-image) write-len 36 | |
17:37:05: (Libpurple: hello-image) write-len 36 | |
17:37:05: (Libpurple: hello-image) download image type = 1, md5 = 2f5113cfd0a33bfec485c222051db205 | |
17:37:05: (Libpurple: hello-image) in image_process_request, type = 27 | |
17:37:05: (Libpurple: hello-image) write-len 36 | |
17:37:05: (Libpurple: hello-image) write-len 36 | |
17:37:05: (Libpurple: hello-image) size_to_read = 36 | |
17:37:05: (Libpurple: hello-image) cursize = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/edp-build-config.js b/edp-build-config.js | |
index 1719429..7aed5d9 100644 | |
--- a/edp-build-config.js | |
+++ b/edp-build-config.js | |
@@ -42,25 +42,25 @@ exports.output = path.resolve(cwd, args.output || 'output'); | |
* @type {Array} | |
*/ | |
exports.exclude = [ | |
- '/src/static/tpl/*', | |
- '/tool', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/edp-build-config.js b/edp-build-config.js | |
index d578422..439935f 100644 | |
--- a/edp-build-config.js | |
+++ b/edp-build-config.js | |
@@ -77,9 +77,6 @@ exports.exclude = [ | |
'*.sh' | |
]; | |
-var moduleEntries = 'html,htm,phtml,tpl,vm,js'; | |
-var pageEntries = 'html,htm,phtml,tpl,vm'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*************************************************************************** | |
* | |
* Copyright (c) 2014 Baidu.com, Inc. All Rights Reserved | |
* $Id$ | |
* | |
**************************************************************************/ | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This script will boot app.js with the number of workers | |
// specified in WORKER_COUNT. | |
// | |
// The master will respond to SIGHUP, which will trigger | |
// restarting all the workers and reloading the app. | |
var cluster = require('cluster'); | |
var workerCount = process.env.WORKER_COUNT || 2; | |
// Defines what each worker needs to run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var assert = console.assert; | |
var DOUBLE = 0, | |
INT32 = 1, | |
BOOL = 2, | |
PTR = 3; | |
var MAXDOUBLE = 0xfff80000, | |
INT32TAG = 0xfff90000, | |
BOOLTAG = 0xfffa0000, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// assumes little endian | |
// constants taken from http://nikic.github.com/2012/02/02/Pointer-magic-for-efficient-dynamic-value-representations.html | |
var MAXDOUBLE = 0xfff80000, | |
INT32TAG = 0xfff90000, | |
BOOLTAG = 0xfffa0000; | |
var heap = new ArrayBuffer(24), | |
f64 = new Float64Array(heap), | |
ui32 = new Uint32Array(heap), |