001/* 002 * To change this license header, choose License Headers in Project Properties. 003 * To change this template file, choose Tools | Templates 004 * and open the template in the editor. 005 */ 006package gwt.material.design.jscore.client; 007 008import gwt.material.design.jscore.client.api.Console; 009import gwt.material.design.jscore.client.api.JSON; 010import gwt.material.design.jscore.client.api.Window; 011 012/** 013 * 014 * @author Cristian Rinaldi 015 */ 016public class JSNI { 017 018 public static native Console createConsole() /*-{ 019 return $wnd.console; 020 }-*/; 021 022 public static native Window createWindow() /*-{ 023 return $wnd; 024 }-*/; 025 026 public static native JSON createJSON() /*-{ 027 return $wnd.JSON; 028 }-*/; 029}