com.github.gwtbootstrap.client.ui.resources
Class JavaScriptInjector

java.lang.Object
  extended by com.github.gwtbootstrap.client.ui.resources.AbstractInjector
      extended by com.github.gwtbootstrap.client.ui.resources.JavaScriptInjector

public class JavaScriptInjector
extends AbstractInjector

Methods to inject JavaScript code into the document header.

Since:
2.0.4.0
Author:
Carlos Alexandro Becker

Constructor Summary
JavaScriptInjector()
           
 
Method Summary
static void inject(String javascript)
          Injects the JavaScript code into a <script type="text/javascript">...</script> element in the document header.
 
Methods inherited from class com.github.gwtbootstrap.client.ui.resources.AbstractInjector
getHead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaScriptInjector

public JavaScriptInjector()
Method Detail

inject

public static void inject(String javascript)
Injects the JavaScript code into a <script type="text/javascript">...</script> element in the document header.

Parameters:
javascript - the JavaScript code


Copyright © 2012 gwtbootstrap. All Rights Reserved.