bigggge

Results 15 comments of bigggge

rich_editor.js ```javascript RE.setBold = function() { if (document.queryCommandState('bold') && !RE.rangeSelectionExists()) { document.execCommand('bold', false, null); document.execCommand('insertHTML', false, '‌'); } else { document.execCommand('bold', false, null); } }; ```

@maoruibin 那这个provideMainActivity方法呢?我试着删除provideMainActivity和provideApplication方法,程序还是可以正常运行,这是为什么?

clean了 ,build文件夹也删了

@maoruibin 有Application getApplication(); 这句时才会报错,因为找不到返回Application的方法,但是代码里好像也没用到AppComponent中的getApplication()?

> 有一个input,怎么统计他的输入 0/50,除了事件还能怎么统计 这个还有什么方法?

> @bigggge 请问你引入库运行时正常?我直接报’ListView has been removed‘ 我是把源码 copy 下来的,然后删了 ListView 相关的代码

@frankyLHJ 我修改了 RCTMJScrollViewManager.m , 就可以了,但不太清楚原理 加上 ``` RCT_EXPORT_VIEW_PROPERTY(showsHorizontalScrollIndicator, BOOL) RCT_EXPORT_VIEW_PROPERTY(showsVerticalScrollIndicator, BOOL) RCT_EXPORT_VIEW_PROPERTY(scrollEventThrottle, NSTimeInterval) RCT_EXPORT_VIEW_PROPERTY(zoomScale, CGFloat) RCT_EXPORT_VIEW_PROPERTY(contentInset, UIEdgeInsets) RCT_EXPORT_VIEW_PROPERTY(scrollIndicatorInsets, UIEdgeInsets) RCT_EXPORT_VIEW_PROPERTY(scrollToOverflowEnabled, BOOL) RCT_EXPORT_VIEW_PROPERTY(snapToInterval, int) RCT_EXPORT_VIEW_PROPERTY(disableIntervalMomentum, BOOL) RCT_EXPORT_VIEW_PROPERTY(snapToOffsets, NSArray) RCT_EXPORT_VIEW_PROPERTY(snapToStart, BOOL) RCT_EXPORT_VIEW_PROPERTY(snapToEnd,...

为什么不写function就会报Uncaught TypeError: Cannot read property 'nextOrder' of undefined(…)

请问angular2和1实现双向绑定有区别吗?