clay-badge
Advanced tools
Comparing version 2.0.0-rc.4 to 2.0.0-rc.5
@@ -49,7 +49,6 @@ 'use strict'; | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
var $render = function $render(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
var $$temp; | ||
/** @type {!goog.soy.data.SanitizedContent|string} */ | ||
@@ -64,3 +63,3 @@ var label = soy.asserts.assertType(goog.isString(opt_data.label) || opt_data.label instanceof goog.soy.data.SanitizedContent, 'label', opt_data.label, '!goog.soy.data.SanitizedContent|string'); | ||
var attributes__soy23 = function attributes__soy23() { | ||
incrementalDom.attr('class', 'badge badge-' + (($$temp = style) == null ? 'primary' : $$temp) + (elementClasses ? ' ' + elementClasses : '')); | ||
incrementalDom.attr('class', 'badge badge-' + (style != null ? style : 'primary') + (elementClasses ? ' ' + elementClasses : '')); | ||
if (id) { | ||
@@ -67,0 +66,0 @@ incrementalDom.attr('id', id); |
{ | ||
"name": "clay-badge", | ||
"version": "2.0.0-rc.4", | ||
"version": "2.0.0-rc.5", | ||
"description": "Metal Clay Badge component.", | ||
@@ -43,3 +43,3 @@ "license": "BSD", | ||
"browserslist-config-clay-components": "^2.0.0-rc.3", | ||
"clay": "^2.0.0-rc.4", | ||
"clay": "^2.0.0-rc.5", | ||
"metal-dom": "^2.13.2", | ||
@@ -46,0 +46,0 @@ "metal-tools-soy": "^6.0.0", |
@@ -30,7 +30,6 @@ /* jshint ignore:start */ | ||
* @return {void} | ||
* @suppress {checkTypes} | ||
* @suppress {checkTypes|uselessCode} | ||
*/ | ||
var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) { | ||
opt_ijData = opt_ijData_deprecated || opt_ijData; | ||
var $$temp; | ||
/** @type {!goog.soy.data.SanitizedContent|string} */ | ||
@@ -45,3 +44,3 @@ var label = soy.asserts.assertType(goog.isString(opt_data.label) || opt_data.label instanceof goog.soy.data.SanitizedContent, 'label', opt_data.label, '!goog.soy.data.SanitizedContent|string'); | ||
var attributes__soy23 = function() { | ||
incrementalDom.attr('class', 'badge badge-' + (($$temp = style) == null ? 'primary' : $$temp) + (elementClasses ? ' ' + elementClasses : '')); | ||
incrementalDom.attr('class', 'badge badge-' + (style != null ? style : 'primary') + (elementClasses ? ' ' + elementClasses : '')); | ||
if (id) { | ||
@@ -48,0 +47,0 @@ incrementalDom.attr('id', id); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27824
376