(function($,win){
var config = {
font: "14px",
color: "#ff0000"
};
api = function($obj,cfg){
//alert(cfg.font);
$obj.css("font-size",cfg.font);
};
$.emstr = function($dom,hash){
hash = $.extend({},config,hash);
_api = api($dom,hash);
}
$.fn.emstr = function(hash){
hash = $.extend({},config,hash);
_api = api($(this),hash);
//$(this).css("font-size","28px");
return this;
}
})(jQuery);
$(function(){
//$("p").emstr({
// font:"28px"
//});
$.emstr($("p"),{
font:"28px"
})
})