mirror of
https://github.com/Hopiu/postal.js.git
synced 2026-03-16 22:20:23 +00:00
Added anvil.jshint to build.json and fixed mixed tabs/spaces in api.js
This commit is contained in:
parent
20a2f6fd23
commit
983cbf4e68
2 changed files with 19 additions and 16 deletions
33
build.json
33
build.json
|
|
@ -1,20 +1,23 @@
|
|||
{
|
||||
"anvil.uglify" : {
|
||||
"exclude": ["./node/postal.js", "./node/classic-resolver.js"]
|
||||
},
|
||||
"exclude": ["./node/postal.js", "./node/classic-resolver.js"]
|
||||
},
|
||||
"anvil.http": {
|
||||
"paths": {
|
||||
"/": "./"
|
||||
},
|
||||
"port" : 8080
|
||||
},
|
||||
"output": {
|
||||
"full": "lib",
|
||||
"partial": {
|
||||
"/standard/postal.*": "./example/standard/js",
|
||||
"/amd/postal.*": [ "./example/amd/js/libs/postal", "./example/node/client/js/lib" ],
|
||||
"/node/postal.js": "./example/node/messaging"
|
||||
}
|
||||
},
|
||||
"dependencies": [ "anvil.http", "anvil.uglify" ]
|
||||
"/": "./"
|
||||
},
|
||||
"port" : 8080
|
||||
},
|
||||
"anvil.jshint" : {
|
||||
"all": true
|
||||
},
|
||||
"output": {
|
||||
"full": "lib",
|
||||
"partial": {
|
||||
"/standard/postal.*": "./example/standard/js",
|
||||
"/amd/postal.*": [ "./example/amd/js/libs/postal", "./example/node/client/js/lib" ],
|
||||
"/node/postal.js": "./example/node/messaging"
|
||||
}
|
||||
},
|
||||
"dependencies": [ "anvil.http", "anvil.uglify" ]
|
||||
}
|
||||
|
|
@ -136,7 +136,7 @@ var postal = {
|
|||
}
|
||||
}
|
||||
if ( postal.configuration.bus.subscriptions[ channel ] &&
|
||||
postal.configuration.bus.subscriptions[ channel ].hasOwnProperty( tpc ) ) {
|
||||
postal.configuration.bus.subscriptions[ channel ].hasOwnProperty( tpc ) ) {
|
||||
result = postal.configuration.bus.subscriptions[ channel ][ tpc ];
|
||||
}
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Reference in a new issue