This file contains 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
#!/bin/sh | |
# | |
# fleet-drone | |
# | |
# chkconfig: - 85 15 | |
# description: | |
# processname: fleet-drone | |
# config: /etc/node/fleet-drone.conf | |
# pidfile: /var/run/fleet-drone.pid |
This file contains 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
{ | |
// Path to the jslint jar. | |
// Leave blank to use bundled jar. | |
"jslint_jar": "", | |
// Options pass to jslint. | |
"jslint_options": "--node --browser --white --sloppy --nomen --undef --unparam --vars", | |
// Ignore errors, regex. | |
"ignore_errors": |
This file contains 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
public class DiagnosticsTemplateBinder : ITemplateBinder | |
{ | |
public bool CanBind(IBindRequest request) | |
{ | |
var descriptor = request.Target.Descriptor as ViewDescriptor; | |
if(descriptor == null || descriptor.ViewModel == null) | |
{ | |
return false; | |
} |