We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I hacked it like so but should be in the config
/* Locations */ // Registers a location element // Args: string id (Location ID), DOMHTMLElement object (Location element) registerLocation: function(id, object) { if (id == 'head') object._skel_attach = function(x) { // Here is the monkey patch if( x.href ) { x.href = x.href.replace("/css/","/assets/"); } this.insertBefore( x, _.me ); }; else object._skel_attach = function(x) { this.appendChild( x ); }; _.locations[id] = object; },
What do you think? By the way I really like skeljs thank you!
The text was updated successfully, but these errors were encountered:
You can do this already using the "prefix" config option.
On Sep 20, 2013, at 7:03 PM, inovationfactory notifications@github.com wrote: I hacked it like so but should be in the config /* Locations */ // Registers a location element // Args: string id (Location ID), DOMHTMLElement object (Location element) registerLocation: function(id, object) { if (id == 'head') object._skel_attach = function(x) { // Here is the monkey patch if( x.href ) { x.href = x.href.replace("/css/","/assets/"); } this.insertBefore( x, _.me ); }; else object._skel_attach = function(x) { this.appendChild( x ); }; _.locations[id] = object; }, What do you think? By the way I really like skeljs thank you! — Reply to this email directly or view it on GitHub.
On Sep 20, 2013, at 7:03 PM, inovationfactory notifications@github.com wrote:
/* Locations */
// Registers a location element // Args: string id (Location ID), DOMHTMLElement object (Location element) registerLocation: function(id, object) {
if (id == 'head') object._skel_attach = function(x) { // Here is the monkey patch if( x.href ) { x.href = x.href.replace("/css/","/assets/"); } this.insertBefore( x, _.me ); }; else object._skel_attach = function(x) { this.appendChild( x ); }; _.locations[id] = object;
}, What do you think? By the way I really like skeljs thank you!
— Reply to this email directly or view it on GitHub.
Sorry, something went wrong.
My bad missed that thank you.
No branches or pull requests
I hacked it like so but should be in the config
What do you think? By the way I really like skeljs thank you!
The text was updated successfully, but these errors were encountered: