ES5 / ES6 DOM操作、功能操作的敏捷开发库。
在html文件中引入gs库文件:<script type='text/javascript' src='gs.js'></src>
G('div')
G('input').each(function(){});
G('div').html();
G('input').value();
G('div').attr();
G('div').find('p');
G('div').find('p').end();
G('div').remove();
G('div).append('div');
G('div').css();
G('div').height();
G('div').width();
G('div').event('click', function(){},'a');
G('div').click();
G('div').mouseover();
G('div').mouseout();
G('div').mousemove();
G('div').mousedown();
G('div').mouseup();
G('div').animate({'width': '100'});
G.isNaN(obj);
G.isUndefined(obj);
G.isNull(obj);
G.toArray(obj);
G.getStyle(obj, 'width');
G.trim(str);
G.contains('hello world', 'hello');
G.callback.add(fn);
G.callback.fire();
G.ready(fn);
G.module.define('name', [dependencies], fn);
G.module.use(modulename);
G.module.require('module', fn);
var a = function () {}; var b = Gs.single(a); b();