File tree Expand file tree Collapse file tree 2 files changed +9
-33
lines changed Expand file tree Collapse file tree 2 files changed +9
-33
lines changed Original file line number Diff line number Diff line change 1
- if ( process . argv . indexOf ( "--console" ) !== - 1 ) {
2
- module . exports = console ;
3
- return ;
4
- }
5
-
6
- var syslog = require ( "node-syslog" ) ;
7
-
8
- syslog . init ( "plugins.jquery.com" , syslog . LOG_PID , syslog . LOG_LOCAL0 ) ;
9
-
10
- module . exports = {
11
- log : function ( msg ) {
12
- syslog . log ( syslog . LOG_INFO , msg ) ;
13
- } ,
14
-
15
- warn : function ( msg ) {
16
- syslog . log ( syslog . LOG_NOTICE , msg ) ;
17
- } ,
18
-
19
- error : function ( msg ) {
20
- syslog . log ( syslog . LOG_ERR , msg ) ;
21
- }
22
- } ;
1
+ module . exports = require ( "logger" ) . init ( "plugins.jquery.com" ) ;
Original file line number Diff line number Diff line change 2
2
"name" : " plugins.jquery.com" ,
3
3
"version" : " 0.0.0" ,
4
4
"author" : " jQuery Project" ,
5
- "description" : " ... " ,
5
+ "description" : " The official jQuery plugins site " ,
6
6
"homepage" : " https://github.com/jquery/plugins.jquery.com" ,
7
7
"repository" : {
8
8
"type" : " git" ,
9
9
"url" : " git://github.com/jquery/plugins.jquery.com.git"
10
10
},
11
11
"dependencies" : {
12
- "mkdirp" : " 0.2.1 " ,
13
- "semver" : " 1.0.12 " ,
14
- "sqlite3" : " 2.1.1 " ,
12
+ "mkdirp" : " 0.3.3 " ,
13
+ "semver" : " 1.0.14 " ,
14
+ "sqlite3" : " 2.1.5 " ,
15
15
"step" : " 0.0.5" ,
16
- "rimraf" : " 1.0.9" ,
17
- "node-syslog" : " 1.1.1" ,
16
+ "rimraf" : " 2.0.2" ,
18
17
"wordpress" : " 0.1.3" ,
19
- "grunt" : " 0.3.9" ,
20
- "grunt-wordpress" : " 1.0.2"
21
- },
22
- "engines" : {
23
- "node" : " 0.6.5"
18
+ "grunt" : " 0.3.12" ,
19
+ "grunt-wordpress" : " 1.0.2" ,
20
+ "logger" : " git://github.com/jquery/node-logger.git"
24
21
}
25
22
}
You can’t perform that action at this time.
0 commit comments