Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A25F4200D44 for ; Mon, 20 Nov 2017 10:38:20 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A0A9D160BF9; Mon, 20 Nov 2017 09:38:20 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E6C7B160BEC for ; Mon, 20 Nov 2017 10:38:19 +0100 (CET) Received: (qmail 70706 invoked by uid 500); 20 Nov 2017 09:38:19 -0000 Mailing-List: contact dev-help@royale.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@royale.apache.org Delivered-To: mailing list dev@royale.apache.org Received: (qmail 70694 invoked by uid 99); 20 Nov 2017 09:38:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Nov 2017 09:38:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 1933A1A1C58 for ; Mon, 20 Nov 2017 09:38:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 7oRVgx1e5BUo for ; Mon, 20 Nov 2017 09:38:17 +0000 (UTC) Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id C37985F3CC for ; Mon, 20 Nov 2017 09:38:16 +0000 (UTC) Received: by mail-wm0-f47.google.com with SMTP id r68so17319462wmr.1 for ; Mon, 20 Nov 2017 01:38:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:message-id:date:to:mime-version; bh=dMocroqa5VTBKXdKKIlax6XZ/B6z3oFDLtTP0bVVGRo=; b=FIQo11rAa051PwYwkpzeIotZR3hsAzf8JA9jfNFhSM3RAIzJx6jrL1AweUEW/LUVZf X27hMpCfHijbq9vRpVN5UdIPyYpLnh6GshrpYvZFe/f7Ot7N8eu7+y4KaKWBXWnQtrcT FyJVqbEkwUd8Muz39ee43vaOhbhaGst04KSAUQPYFc9wCDMPQQm8veqpk7vxc1vPTgdd 6vfnjsjzzr3MuDl2ss8P8q04YmwvQnNyAhIg9VzF6a//yZsJrpuIJn7J9cfDAVV76xUs c/wjtr+3rMSJf3xAIMyzTcfgU8FmogRz5sRbKXcJUdgwbdiamDDtQ0PUTGa0ckIbsPue 971w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:message-id:date:to:mime-version; bh=dMocroqa5VTBKXdKKIlax6XZ/B6z3oFDLtTP0bVVGRo=; b=SF0VQo2EzW9kuuxFq2H3pfZB6tDAA1dFGYxiB+Uhnbl1T7m187BH4+6dDjjB92wJXr 0vhspjlW+kKt9fYnDVrfwLYBVjvY2OP5gzRGll8mFYmIEn5C3dVADfoL5Z0nkuae5avj RqRdW1t7Ibqfbb+pFE5UoYlDpsHUOo7dawsVuVgF2dXx29/C+5xpRrKiHZmYJMj2xLi2 mO9Nsy0hYKUCXis+FAp5yYbrqLDzliaIGTSAstYailpJUxutKDSjnUic3Q+4TYhnTK0F RiPBYyBVhH8epWVnuSHWzsmOhMi2fygJ0z59+sPDJAZRd42ZjA0Ih+O3JrgI921e2LAh 3djw== X-Gm-Message-State: AJaThX7iQu918u4V4Kb9SV/xwFBqCPjArZZK+vS+wDbrHTSqLWsAtPfN 2qOHHuV2xdSz0FZjptG35MM7wQm0 X-Google-Smtp-Source: AGs4zMade9wIlzQpqNWWDJacGTg4X9ApxGfD8nX4gi9yQLeyjs6dhh/SXzszXPbQNUIV/Wuxe501Bg== X-Received: by 10.28.97.194 with SMTP id v185mr529528wmb.21.1511170695464; Mon, 20 Nov 2017 01:38:15 -0800 (PST) Received: from [10.0.0.26] ([82.166.23.15]) by smtp.gmail.com with ESMTPSA id u194sm9450794wmd.6.2017.11.20.01.38.14 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Nov 2017 01:38:14 -0800 (PST) From: Harbs Content-Type: multipart/alternative; boundary="Apple-Mail=_1CB2AFEB-7F82-411F-B8BD-2E20CBAD02BB" Subject: Wrapping for google compiler Message-Id: <6AE33154-AAE3-4B7F-99DB-A27230789885@gmail.com> Date: Mon, 20 Nov 2017 11:38:11 +0200 To: dev@royale.apache.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) archived-at: Mon, 20 Nov 2017 09:38:20 -0000 --Apple-Mail=_1CB2AFEB-7F82-411F-B8BD-2E20CBAD02BB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I was not able to find the magic incantation to get =E2=80=94output_wrappe= r in the goog compiler to work.[1] I tried a couple of variations on this theme: -js-compiler-option=3D'--output_wrapper (function(){%output%}());' I gave up and added the anonymous function wrapper using a = post-processing script. Any suggestions on how to make this work? = [1]https://github.com/google/closure-compiler/wiki/FAQ#when-using-advanced= -optimizations-closure-compiler-adds-new-variables-to-the-global-scope-how= -do-i-make-sure-my-variables-dont-collide-with-other-scripts-on-the-page = = --Apple-Mail=_1CB2AFEB-7F82-411F-B8BD-2E20CBAD02BB--