From b2117dc0b112daa5ec162ec94de1eaf2ef0cf258 Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Wed, 14 Oct 2015 13:25:53 -0700 Subject: [PATCH] Factor into functions. --- src/lib/annotations/annotations.html | 17 ++++-- src/standard/annotations.html | 84 +++++++++++++++------------- 2 files changed, 57 insertions(+), 44 deletions(-) diff --git a/src/lib/annotations/annotations.html b/src/lib/annotations/annotations.html index 1128570dc9..8be5c62c4c 100644 --- a/src/lib/annotations/annotations.html +++ b/src/lib/annotations/annotations.html @@ -150,6 +150,15 @@ } }, + _literalFromParts: function(parts) { + var s = ''; + for (var i=0; i