Tangram-base icon indicating copy to clipboard operation
Tangram-base copied to clipboard

Results 21 Tangram-base issues
Sort by recently updated
recently updated
newest added

为什么 magic 下载到本地运行不了,会报错!还需要额外的配置么?有的话要怎么配置??还有为啥原来的magic官网地址都跳到这里了

改为`(new Function ('return ' + xxx))()`的方式。在使用外围大闭包进行更进一步内部代码压缩时,避免出现由于`eval`存在压缩器无法完成名字压缩的情况。

[Testcase] 修改request 源码、并增加对应的测试用例

使用了 instanceof 来判断类型,这样使得从其他 frame 获取到的 Array 和 Date 对象无法正确序列化。建议改用 baidu.lang.isArray 及 baidu.lang.isDate 来判断。

In the method of baidu.dom.opacity, and it set the opacity using filter with 'xxxxx(opacity__:**xxx' instead of 'xxxxx(opacity**=__'. The problem is that if I set the opacity with this method, but...

复现: 自定义下载 - 我的选择 - 输入baidu.ajax.get,baidu.ajax.post,baidu.object.clone,baidu.object.extend,baidu.json.decode,baidu.json.encode - 载入选择 - 导出(yui) 下载下来的js出现了异常,下面是js的一部分 java.io.FileNotFoundException: /home/g/public_html/doc/source/script/1316591308 (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:106) at java.io.FileInputStream.(FileInputStream.java:66) at com.yahoo.platform.yui.compressor.YUICompressor.main(YUICompressor.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)...

http://tangram.baidu.com/api.html#baidu.ajax.request 缺少对ontimeout事件的文档。

## issue说明 在Chrome中,页面中有iframe存在的情况下,拖拽draggable块以较快速度移入iframe范围内,并立即松开鼠标,此时会出现draggable块一直跟随鼠标,怎么也停不下来。发生的原因是iframe捕捉的mouseup事件,不再向其父级页面传递,导致drag动作没有终止。 ## 下面是复现的测试代码 ``` drag .container{ float:left; padding-left:50px; } .drag-wrap{ width:300px; height:220px; background:#8888FF; position:relative; } .drag-title{ background:#666666; height:20px; line-height:20px; color:white; cursor:move; } drag me 在页面中有iframe存在的情况下,拖拽draggable块以较快速度移入iframe范围内,并立即松开鼠标,此时会出现draggable块一直跟随鼠标,怎么也停不下来 baidu.dom.draggable('widget', { handler...