Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Not everyone wants Google Closure

  • Loading branch information...
commit 190096352ea9d69c236787ea3ffb8a05bb80a60a 1 parent 607c0f5
Matt Powell authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  src/TwigJs/Compiler/ModuleCompiler.php
2  src/TwigJs/Compiler/ModuleCompiler.php
@@ -120,7 +120,7 @@ protected function compileClassHeader(JsCompiler $compiler, \Twig_NodeInterface
120 120 ;
121 121
122 122 $compiler
123   - ->write("goog.provide('$functionName');\n\n")
  123 + ->write("if (goog) goog.provide('$functionName');\n\n")
124 124 ->write(
125 125 "/**\n",
126 126 " * @constructor\n",

0 comments on commit 1900963

Please sign in to comment.
Something went wrong with that request. Please try again.