// JavaScript Document
var mergeCss = new Class({
    initialize: function(){
        this.req();	
    },
    respone: function(text){
        text = text.split("@import url('");
        /*text.each(function(v,i){
            text = v.split("');");
            console.log(text);
        });*/
        console.log(text);
        return text;	
    },
    req: function(){
        var myRequest = new Request({
            url: 'css/modules.css', 
            method: 'post',
            noCache: true, 
            onSuccess: function(responseText) {
                content = responseText;
                this.respone(content);
            }.bind(this),
            onFailure: function() {
            },
            onRequest: function(){   
            }
        });
        myRequest.send();
    }
});
$(document).addEvent('domready', function(){
	//var merge =  new mergeCss();
});
