From 4d32dc8452cb20271c9b00c233883e7b82ea4959 Mon Sep 17 00:00:00 2001 From: Heechul Ryu Date: Wed, 8 Mar 2023 10:20:13 -0800 Subject: [PATCH] Update goes-against-grain.md - fix typo - add syntax highlighting for a code block --- _faq/goes-against-grain.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_faq/goes-against-grain.md b/_faq/goes-against-grain.md index 32b693c..0a694cf 100644 --- a/_faq/goes-against-grain.md +++ b/_faq/goes-against-grain.md @@ -54,9 +54,9 @@ To start off with the todo entry modeled as a statechart would probably have dif ### AngularJS -Let's look at the code that handles saving athe AngularJS todomvc example: +Let's look at the code that handles saving at the AngularJS todomvc example: -``` +```js $scope.saveEdits = function (todo, event) { // Blur events are automatically triggered after the form submit event. // This does some unfortunate logic handling to prevent saving twice.