按照标题,我需要一种方法来了解特定的文件/代码是否存在任何类型错误。我无法为此使用合适的API,有吗?
答案 0 :(得分:1)
似乎可以这样检测到错误:
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>
<body>
<div class="input-group col-xs-12 col-sm-6 col-sm-offset-6 btm20 group-reply">
<textarea auto-resize ng-model="vm.model.textarea" name="reply" class="form-control"></textarea>
<button type="button" class="btn btn-primary btn-reply">Reply</button>
</div>
</body>
</html>