Quantcast
Browsing all 3491 articles
Browse latest View live

Possible Race Condition between IE and Firefox.

I'm having some trouble between firefox and IE. <!DOCTYPE HTML><html lang="en"><head>    <title>rae/dataException/dataExceptionComponent DEMO</title></head>...

View Article


Less.js config

I often do this in my projects: var less = {     postProcessor: function(styles){ return myth(styles) } }; I tried defining this object globally in my html file, but it seems to have been ignored. How...

View Article


Re : Less.js config

Can you explain what this is supposed to do? I don't understand what you are trying to accomplish. This is how you configure less in the browser?

View Article

Re : Less.js config

Yes, this is how I configure Less.js in dev mode. My goal is to parse the output CSS with Myth after Less.js is done. For production, I can probably just use a task runner on the CSS file.

View Article

How to build CSS file?

I'm import 'ing *.less files and would like to build a production *.css file. Am I mistaken that StealTools can do this? I can't seem to find any info on it in the documentation.

View Article


Re : How to build CSS file?

You're not mistaken, it will build production css files along side your js. Are you using the grunt task, cli, or writing your own script?

View Article

Re : Less.js config

But your example is you're just defining a variable. What are you passing that variable into?

View Article

Re : How to build CSS file?

I'm actually using a little of all three at the moment because I have not yet decided which I prefer most for this project. To save you keystrokes, let's go with the programmatic API (writing my own...

View Article


Re : Less.js config

With Less.js included in an HTML file, it looks for window.less  for custom configuration options. This does not work with StealTools, so I'm wondering if there's a way to send this config to Less.js...

View Article


Re : How to build CSS file?

It seems to automatically create the CSS file. Neat! :)

View Article

Transpile during build?

When I do a build, SteallTools still includes System in the source. I'd prefer to transpile to AMD to minimize file size. How can I do this? Edit: pluginifier?

View Article

UglifyJS and CleanCSS options?

Particularly for removing special comments and creating source maps.

View Article

Re : UglifyJS and CleanCSS options?

Already making its way in: https://github.com/bitovi/steal-tools/pull/32

View Article


Re : Less.js config

Basically, this: https://github.com/bitovi/steal/pull/210

View Article

Re : Transpile during build?

Not sure what you mean by includes System. Steal is only included if you provide the bundleSteal option. You may be talking about the Traceur runtime. The only way to avoid including that is if you...

View Article


Re : Transpile during build?

I didn't provide the bundleSteal option but I am writing my app with ES6 syntax. Is it possible to transpile it all to AMD for production? And, is it possible to do so automatically or must it be done...

View Article

The best way to implement nested binding for all list items

Say I have a list if items, each item has field title items: [{tilte: 'title1'},  tilte: 'title2'}, ... ] I want to bind to changes of title field of any list item. Is there better way to implement...

View Article


Re : Transpile during build?

Everything is transpiled to AMD during the build (including pluginifier).  That doesn't avoid the need for the traceur runtime though. The only way to avoid traceur being included is don't use ES6.

View Article

Re : Transpile during build?

Why is traceur is required if each ES6 import  and export  was converted to a define() ? Is there a way to tell StealTools that I will only ever need one bundle, thereby eliminating the need for tracer...

View Article

Re : Transpile during build?

Because the traceur compiled output uses the runtime for assertions. They may be changing this in the future though. You may want to use pluginifier when will transpile to AMD and includes a shim....

View Article
Browsing all 3491 articles
Browse latest View live