1
0
mirror of https://github.com/bobwen-dev/react-templates synced 2025-04-12 00:56:39 +02:00
nino-porcino 46caeea387 Fix , , , , , , , , , ()
* Single child for rt-template (fixes )

* Nested scope functions (fixes )

* Forbid nested rt-import (fixes )

* Vendor prefixes style keys ()

* Renamed test file

* Forbid expressions in style keys ()

* fixed rt-import and AMD ()

* Updated documentation

* Fixed links in README.md

* Sanitize comments (fix )

* Disable comments when es6 (fix#157)

* Added test case for comments

* Simplified TypeScript output

* Test cases for simplified TypeScript output

* Fixed wrong TypeScript output ()

* fix repeat with custom index ()
2016-07-06 11:25:08 +03:00

14 lines
407 B
JavaScript

define([
'react',
'lodash'
], function (React, _) {
'use strict';
return function () {
function scopeActiveUsers1() {
var activeUsers = this.activeUsers;
return React.createElement('div', { 'key': 'active-users' }, React.createElement('span', {}, 'some text'));
}
return this.activeUsers ? scopeActiveUsers1.apply(this, []) : null;
};
});