source: imaps-frontend/node_modules/nano-css/addon/rtl.js

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 358 bytes
RevLine 
[d565449]1'use strict';
2
3var rtl = require('rtl-css-js').default;
4
5exports.addon = function (renderer) {
6 if (process.env.NODE_ENV !== 'production') {
7 require('./__dev__/warnOnMissingDependencies')('rtl', renderer, ['put']);
8 }
9
10 var put = renderer.put;
11
12 renderer.put = function (selector, css) {
13 return put(selector, rtl(css));
14 };
15};
Note: See TracBrowser for help on using the repository browser.