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    //TODO: Convert to JSInterop
019    public static native Console createConsole() /*-{
020        return $wnd.console;
021    }-*/;
022
023    //TODO: Convert to JSInterop
024    public static native Window createWindow() /*-{
025        return $wnd;
026    }-*/;
027
028    //TODO: Convert to JSInterop
029    public static native JSON createJSON() /*-{
030        return $wnd.JSON;
031    }-*/;
032}