/** * Header Template * * * @file header.php * @package Responsive * @author Emil Uzelac * @copyright 2003 - 2014 CyberChimps * @license license.txt * @version Release: 1.3 * @filesource wp-content/themes/responsive/header.php * @link http://codex.wordpress.org/Theme_Development#Document_Head_.28header.php.29 * @since available since Release 1.0 */ // Exit if accessed directly if ( !defined( 'ABSPATH' ) ) { exit; } ?> No more JSNI for gwty-leaflet | G-Widgets

No more JSNI for gwty-leaflet

gwty-leaflet is mainly using Jsinterop for interfacing with LeafletJs. However, we have been using a little JSNI for defining Event objects, and the reason behind that was to benefit from the .cast() method for casting from the parent Event object to other types of child objects. Now JSNI is no longer used, and gwty-leaflet is 100 % Jsinterop, thanks to the work of olivergg. This github issue provides more details about the work done: https://github.com/gwidgets/gwty-leaflet/issues/7. The next step for gwty-leaflet is to replace the used HTML elements under .elemental package with Google’s Elemental 2.

For enquiries contact Francesca Tosi




Blog Partners