From fd822bdaf9d04e522aaa5400b673f333190abe98 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Fri, 7 Oct 2011 11:27:49 -0700 Subject: chore(formating): clean code to be function() { --- docs/content/guide/dev_guide.compiler.widgets.creating_widgets.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/content/guide/dev_guide.compiler.widgets.creating_widgets.ngdoc') diff --git a/docs/content/guide/dev_guide.compiler.widgets.creating_widgets.ngdoc b/docs/content/guide/dev_guide.compiler.widgets.creating_widgets.ngdoc index 674f98aa..b73304c0 100644 --- a/docs/content/guide/dev_guide.compiler.widgets.creating_widgets.ngdoc +++ b/docs/content/guide/dev_guide.compiler.widgets.creating_widgets.ngdoc @@ -61,7 +61,7 @@ angular.widget('@my:watch', function(expression, compileElement) { angular.widget('my:time', function(compileElement){ compileElement.css('display', 'block'); return function(linkElement){ - function update(){ + function update() { linkElement.text('Current time is: ' + new Date()); setTimeout(update, 1000); } -- cgit v1.2.3