diff options
author | Youmin Ha <youmin.ha@samsung.com> | 2012-08-23 16:13:20 +0900 |
---|---|---|
committer | Youmin Ha <youmin.ha@samsung.com> | 2012-08-23 16:13:20 +0900 |
commit | f476ccb6d18ed0c7392ad5508a4c7108c1297f2a (patch) | |
tree | bbdda31334a8da5bef6e1869a375075e1b8447a8 /build-tools/lib/less | |
parent | 1ebd5ca39c5801e5c53b0d339223713e898d0b10 (diff) | |
download | web-ui-fw-f476ccb6d18ed0c7392ad5508a4c7108c1297f2a.tar.gz web-ui-fw-f476ccb6d18ed0c7392ad5508a4c7108c1297f2a.tar.bz2 web-ui-fw-f476ccb6d18ed0c7392ad5508a4c7108c1297f2a.zip |
2.0_beta sync to rsa
Diffstat (limited to 'build-tools/lib/less')
-rw-r--r-- | build-tools/lib/less/index.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build-tools/lib/less/index.js b/build-tools/lib/less/index.js index 39c40ca2..3b4e928d 100644 --- a/build-tools/lib/less/index.js +++ b/build-tools/lib/less/index.js @@ -2,7 +2,11 @@ var path = require('path'), sys = require('sys'), fs = require('fs'); -require.paths.unshift(path.join(__dirname, '..')); +try { + // For old node.js versions + require.paths.unshift( path.join( __dirname, '..' ) ); +} catch ( ex ) { +} var less = { version: [1, 1, 3], |