Jan Schär

Results 16 comments of Jan Schär

Yes, custom props is only one problem solved by react-polymer. The others are: - custom events - using `className` instead of `class`, like with other React DOM elements - ``...

One problem is that React uses attributes instead of properties for custom elements. Attributes are just strings, but you need an array of objects. You can work around this by...

This should work when https://github.com/mishoo/UglifyJS2/issues/448 is fixed. Until then, you need to use a transpiler, for example Babel.

There is also a problem if you use a [Content Security Policy](http://www.html5rocks.com/en/tutorials/security/content-security-policy/#eval-too), because `eval` is disallowed (by default). Angular.js for example [detects](https://github.com/angular/angular.js/blob/v1.3.14/src/Angular.js#L876-L893) an active CSP and uses a fallback in...

Yes, I know, on [stackoverflow](http://stackoverflow.com/questions/7316688/how-to-programmatically-set-the-length-of-a-function) there is no other way than `eval`/`new Function` (that supports an indefinite number of arguments). The easier solution is just adding `'unsafe-eval'` to the CSP,...

I now found a better solution than https://github.com/jscissr/atom-terminal/commit/44b322f27f626e1f00f221ca13bbca886fac5175. (This PR is the new solution)

I have the same problem browserifying `ws`. It contains the following file: ``` js try { module.exports = require('utf-8-validate'); } catch (e) { module.exports = require('./Validation.fallback'); } ``` I think...

I have the same problem, and I was able to work around it by adding this to the `launch.json` configuration: ``` "sourceMap": {"/": "c:\\"} ``` It looks like this bug...

The simplest repro case is this: ```py r'''[]''' 4 ``` Any code after `r'''[]'''` is not highlighted like it should, in this case the `4`. I'm wondering why brackets in...

Also, there is a `root` global in Node, pointing to global.