From 8dbc4294c15f3910dbb369246943142c6b0ef52d Mon Sep 17 00:00:00 2001 From: Aidan Saunders <aidan.saunders@gmail.com> Date: Fri, 8 Dec 2017 17:48:09 +0000 Subject: [PATCH] Update javascript.md Missing ; and . --- docs/standards/javascript.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/standards/javascript.md b/docs/standards/javascript.md index 9655571e..1266e547 100644 --- a/docs/standards/javascript.md +++ b/docs/standards/javascript.md @@ -109,10 +109,10 @@ If your code needs to work across multiple versions of CiviCRM, where jQuery was ```javascript (function($) { // your code here -})(CRM.$ || cj) +})(CRM.$ || cj); ``` -For more examples you can take a look at a [gist](https://gist.github.com/totten/9591b10d4bc09c78108d) from Tim Otten on javascript alternatives For more information on javascript closures, [here is some further reading](http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth). +For more examples you can take a look at a [gist](https://gist.github.com/totten/9591b10d4bc09c78108d) from Tim Otten on javascript alternatives. For more information on javascript closures, [here is some further reading](http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth). ## Accessing CiviCRM API from JS -- GitLab