From 53f87270621e81ae2f7aebd2df533b8d69196a77 Mon Sep 17 00:00:00 2001 From: Petr Pridal Date: Fri, 22 Jun 2012 12:40:42 +0200 Subject: [PATCH] Anonymous wrapper function around the api.js compiled in advanced compilation. --- api.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api.json b/api.json index 9b9d0a1ccf..9e591fcf31 100644 --- a/api.json +++ b/api.json @@ -3,6 +3,11 @@ "output-file": "api.js", + "output-wrapper": [ + "// Copyright 2012 ...\n", + "(function(){%output%})();" + ], + "inputs": "src/ol.export.js", "paths": [ "src"