anima-toast
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "anima-toast", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "The best project ever.", | ||
@@ -28,3 +28,4 @@ "homepage": "http://gitlab.alibaba-inc.com/animajs/toast", | ||
"anima-pop": "1.0.2", | ||
"anima-yocto-lite": "1.1.0" | ||
"anima-yocto-lite": "1.1.0", | ||
"import-style": "1.0.0" | ||
}, | ||
@@ -31,0 +32,0 @@ "devDependencies": { |
var $ = require('anima-yocto-lite'), | ||
@@ -19,3 +19,3 @@ Pop = require('anima-pop'); | ||
content : null, | ||
template : '<div class="am-toast"></div>', | ||
template : '<div class="am-toast" style="background-color: transparent;"></div>', | ||
effect : 'fade', | ||
@@ -65,3 +65,3 @@ align : { | ||
iconCssTpl = type == 'none' ? '' : '<span class="am-toast-icon ' + 'am-icon-' + type + '"></span>', | ||
tpl = '<div class="am-toast-text">' | ||
tpl = '<div class="am-toast-text">' | ||
+ iconCssTpl | ||
@@ -68,0 +68,0 @@ + content |
@@ -10,2 +10,4 @@ | ||
$('body').css('background-color', 'gray'); | ||
describe('toast', function() { | ||
@@ -12,0 +14,0 @@ var toast = new Toast({ |
8988
172
3
+ Addedimport-style@1.0.0
+ Addedimport-style@1.0.0(transitive)