
com.asayama.gwt.angular.prettify.client.Prettifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gwt-angular-prettify Show documentation
Show all versions of gwt-angular-prettify Show documentation
Provides GWT Angular module for google-code-prettify.
https://code.google.com/p/google-code-prettify/
The newest version!
package com.asayama.gwt.angular.prettify.client;
import com.asayama.gwt.angular.client.Service;
/**
* GWT Angular service wrapper around Google Code Prettify. In order to use this
* service, you must include the following line in your GWT module.
*
*
* {@code }
*
*
* @since 0.1.1
* @author kyoken74
* @see com.asayama.gwt.angular.prettify.client.directive.GwtPrettify
* @see com.asayama.gwt.angular.prettify.client.directive.Prettyprint
* @see com.asayama.gwt.angular.prettify.client.filter.Prettify
*/
public class Prettifier implements Service {
public native String prettify(String input) /*-{
return $wnd.prettyPrintOne(input);
}-*/;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy