Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@italentjs/italent-header

Package Overview
Dependencies
Maintainers
4
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@italentjs/italent-header - npm Package Compare versions

Comparing version 1.0.63 to 1.0.64

2

app/scripts/vendor/components/italent-header/index.js

@@ -19,3 +19,3 @@ /*

this["JST"]["header/icon-view/lang"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '<a class=\'lang-region-box\'>\n <span class="i18n_item ' +((__t = ( I18NUserLang )) == null ? '' : __t) +' header-icon-lang_' +((__t = ( I18NUserLang )) == null ? '' : __t) +'">&nbsp;</span>\n <div class="btn-tips">\n <div class="entry-trangle-top"></div>\n ' +((__t = ( title )) == null ? '' : __t) +'\n </div>\n</a>\n<div class="dp-down-list ">\n\t\t<ul class="list-ul-box dp-list-front">\n '; Talent._.each(list,function(item,index){ ;__p += '\n <li class="dp-list-item"><a href="javascript:;"data-text="' +((__t = ( item.text )) == null ? '' : __t) +'" data-value="' +((__t = ( item.value )) == null ? '' : __t) +'" index="' +((__t = ( index )) == null ? '' : __t) +'">' +((__t = ( item.text )) == null ? '' : __t) +'</a></li>\n '; }) ;__p += '\n\t\t</ul>\n\t\t<ul class="list-ul-box dp-list-shadow">\n\t\t\t'; Talent._.each(list,function(item,index){ ;__p += '\n\t\t\t\t<li class="' +((__t = ( 'item-'+ index )) == null ? '' : __t) +'" item-index="' +((__t = ( index )) == null ? '' : __t) +'"><a href="">' +((__t = ( item.text )) == null ? '' : __t) +'</a></li>\n\t\t\t'; }) ;__p += '\n\t\t</ul>\n\t</div>\n\n';}return __p};
this["JST"]["header/icon-view/lang"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '<a class=\'lang-region-box lang_region_' +((__t = ( I18NUserLang )) == null ? '' : __t) +'\'>\n <span class="i18n_item ' +((__t = ( I18NUserLang )) == null ? '' : __t) +' header-icon-lang_' +((__t = ( I18NUserLang )) == null ? '' : __t) +'">&nbsp;</span>\n <div class="btn-tips">\n <div class="entry-trangle-top"></div>\n ' +((__t = ( title )) == null ? '' : __t) +'\n </div>\n</a>\n<div class="dp-down-list ">\n\t\t<ul class="list-ul-box dp-list-front">\n '; Talent._.each(list,function(item,index){ ;__p += '\n <li class="dp-list-item"><a href="javascript:;"data-text="' +((__t = ( item.text )) == null ? '' : __t) +'" data-value="' +((__t = ( item.value )) == null ? '' : __t) +'" index="' +((__t = ( index )) == null ? '' : __t) +'">' +((__t = ( item.text )) == null ? '' : __t) +'</a></li>\n '; }) ;__p += '\n\t\t</ul>\n\t\t<ul class="list-ul-box dp-list-shadow">\n\t\t\t'; Talent._.each(list,function(item,index){ ;__p += '\n\t\t\t\t<li class="' +((__t = ( 'item-'+ index )) == null ? '' : __t) +'" item-index="' +((__t = ( index )) == null ? '' : __t) +'"><a href="">' +((__t = ( item.text )) == null ? '' : __t) +'</a></li>\n\t\t\t'; }) ;__p += '\n\t\t</ul>\n\t</div>\n';}return __p};

@@ -22,0 +22,0 @@ this["JST"]["header/icon-view/message"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '<a\n\tclass="common-link ' +((__t = (iconName)) == null ? '' : __t) +'"\n\thref="' +((__t = ( (reminds.remindCount)?'javascript:void(0)':href )) == null ? '' : __t) +'"\n\t';if(!reminds.remindCount&&target){;__p += '\n\ttarget=" ' +((__t = (target)) == null ? '' : __t) +'" ';};__p += '> '; if(reminds.remindCount){ ;__p += '\n\t<span class="new-message">\n\t\t' +((__t = ( (reminds.remindCount <= 99)?reminds.remindCount : "99+" )) == null ? '' : __t) +'\n\t</span>\n\t'; } ;__p += '\n\t<div class="btn-tips">\n\t\t<div class="entry-trangle-top"></div>\n\t\t' +((__t = (title)) == null ? '' : __t) +'\n\t</div>\n</a>\n\n'; if(reminds.remindList.length){ ;__p += '\n<div class="list-wrapper">\n\t<div class="content-visible">\n\t\t<div class="title">\n\t\t\t' +((__t = ( (reminds.newNoticeText||"新通知")+"(" + reminds.remindCount + ")")) == null ? '' : __t) +'\n\t\t</div>\n\t\t<ul class="message-list">\n\t\t\t'; Talent._.each(reminds.remindList,function(item,index){ ;__p += '\n\t\t\t<li class="message-item">\n\t\t\t\t<a href="' +((__t = (item.href)) == null ? '' : __t) +'" target="_blank" class="message-item-a">\n\t\t\t\t\t<span class="icon-box ' +((__t = (item.className)) == null ? '' : __t) +'"></span>\n\t\t\t\t\t<span class="content">\n\t\t\t\t\t\t' +((__t = (item.content)) == null ? '' : __t) +'\n\t\t\t\t\t</span>\n\t\t\t\t\t<span class="num">\n\t\t\t\t\t\t' +((__t = (item.length)) == null ? '' : __t) +'\n\t\t\t\t\t</span>\n\t\t\t\t\t<span class="date">\n\t\t\t\t\t\t' +((__t = (item.date)) == null ? '' : __t) +'\n\t\t\t\t\t</span>\n\t\t\t\t</a>\n\t\t\t</li>\n\t\t\t'; }) ;__p += '\n\t\t</ul>\n\t\t<li class="view-all">\n\t\t\t<a href="' +((__t = (reminds.viewAllHref)) == null ? '' : __t) +'" target="_blank"\n\t\t\t\t>' +((__t = ( reminds.viewAllText||"查看全部")) == null ? '' : __t) +'</a\n\t\t\t>\n\t\t</li>\n\t</div>\n</div>\n<div class="list-wrapper-mask"></div>\n'; } ;__p += '\n';}return __p};

@@ -171,3 +171,5 @@ define(["talent", "templates/common", "header"], function(Talent, jst, Header) {

},
showTodoIgnore: true
showTodoIgnore: true,
I18NUserLang: 'zh_CN'
},

@@ -200,3 +202,3 @@ {

}
]
],
}

@@ -203,0 +205,0 @@ },

@@ -19,3 +19,3 @@ /*

this["JST"]["header/icon-view/lang"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '<a class=\'lang-region-box\'>\n <span class="i18n_item ' +((__t = ( I18NUserLang )) == null ? '' : __t) +' header-icon-lang_' +((__t = ( I18NUserLang )) == null ? '' : __t) +'">&nbsp;</span>\n <div class="btn-tips">\n <div class="entry-trangle-top"></div>\n ' +((__t = ( title )) == null ? '' : __t) +'\n </div>\n</a>\n<div class="dp-down-list ">\n\t\t<ul class="list-ul-box dp-list-front">\n '; Talent._.each(list,function(item,index){ ;__p += '\n <li class="dp-list-item"><a href="javascript:;"data-text="' +((__t = ( item.text )) == null ? '' : __t) +'" data-value="' +((__t = ( item.value )) == null ? '' : __t) +'" index="' +((__t = ( index )) == null ? '' : __t) +'">' +((__t = ( item.text )) == null ? '' : __t) +'</a></li>\n '; }) ;__p += '\n\t\t</ul>\n\t\t<ul class="list-ul-box dp-list-shadow">\n\t\t\t'; Talent._.each(list,function(item,index){ ;__p += '\n\t\t\t\t<li class="' +((__t = ( 'item-'+ index )) == null ? '' : __t) +'" item-index="' +((__t = ( index )) == null ? '' : __t) +'"><a href="">' +((__t = ( item.text )) == null ? '' : __t) +'</a></li>\n\t\t\t'; }) ;__p += '\n\t\t</ul>\n\t</div>\n\n';}return __p};
this["JST"]["header/icon-view/lang"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '<a class=\'lang-region-box lang_region_' +((__t = ( I18NUserLang )) == null ? '' : __t) +'\'>\n <span class="i18n_item ' +((__t = ( I18NUserLang )) == null ? '' : __t) +' header-icon-lang_' +((__t = ( I18NUserLang )) == null ? '' : __t) +'">&nbsp;</span>\n <div class="btn-tips">\n <div class="entry-trangle-top"></div>\n ' +((__t = ( title )) == null ? '' : __t) +'\n </div>\n</a>\n<div class="dp-down-list ">\n\t\t<ul class="list-ul-box dp-list-front">\n '; Talent._.each(list,function(item,index){ ;__p += '\n <li class="dp-list-item"><a href="javascript:;"data-text="' +((__t = ( item.text )) == null ? '' : __t) +'" data-value="' +((__t = ( item.value )) == null ? '' : __t) +'" index="' +((__t = ( index )) == null ? '' : __t) +'">' +((__t = ( item.text )) == null ? '' : __t) +'</a></li>\n '; }) ;__p += '\n\t\t</ul>\n\t\t<ul class="list-ul-box dp-list-shadow">\n\t\t\t'; Talent._.each(list,function(item,index){ ;__p += '\n\t\t\t\t<li class="' +((__t = ( 'item-'+ index )) == null ? '' : __t) +'" item-index="' +((__t = ( index )) == null ? '' : __t) +'"><a href="">' +((__t = ( item.text )) == null ? '' : __t) +'</a></li>\n\t\t\t'; }) ;__p += '\n\t\t</ul>\n\t</div>\n';}return __p};

@@ -22,0 +22,0 @@ this["JST"]["header/icon-view/message"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '<a\n\tclass="common-link ' +((__t = (iconName)) == null ? '' : __t) +'"\n\thref="' +((__t = ( (reminds.remindCount)?'javascript:void(0)':href )) == null ? '' : __t) +'"\n\t';if(!reminds.remindCount&&target){;__p += '\n\ttarget=" ' +((__t = (target)) == null ? '' : __t) +'" ';};__p += '> '; if(reminds.remindCount){ ;__p += '\n\t<span class="new-message">\n\t\t' +((__t = ( (reminds.remindCount <= 99)?reminds.remindCount : "99+" )) == null ? '' : __t) +'\n\t</span>\n\t'; } ;__p += '\n\t<div class="btn-tips">\n\t\t<div class="entry-trangle-top"></div>\n\t\t' +((__t = (title)) == null ? '' : __t) +'\n\t</div>\n</a>\n\n'; if(reminds.remindList.length){ ;__p += '\n<div class="list-wrapper">\n\t<div class="content-visible">\n\t\t<div class="title">\n\t\t\t' +((__t = ( (reminds.newNoticeText||"新通知")+"(" + reminds.remindCount + ")")) == null ? '' : __t) +'\n\t\t</div>\n\t\t<ul class="message-list">\n\t\t\t'; Talent._.each(reminds.remindList,function(item,index){ ;__p += '\n\t\t\t<li class="message-item">\n\t\t\t\t<a href="' +((__t = (item.href)) == null ? '' : __t) +'" target="_blank" class="message-item-a">\n\t\t\t\t\t<span class="icon-box ' +((__t = (item.className)) == null ? '' : __t) +'"></span>\n\t\t\t\t\t<span class="content">\n\t\t\t\t\t\t' +((__t = (item.content)) == null ? '' : __t) +'\n\t\t\t\t\t</span>\n\t\t\t\t\t<span class="num">\n\t\t\t\t\t\t' +((__t = (item.length)) == null ? '' : __t) +'\n\t\t\t\t\t</span>\n\t\t\t\t\t<span class="date">\n\t\t\t\t\t\t' +((__t = (item.date)) == null ? '' : __t) +'\n\t\t\t\t\t</span>\n\t\t\t\t</a>\n\t\t\t</li>\n\t\t\t'; }) ;__p += '\n\t\t</ul>\n\t\t<li class="view-all">\n\t\t\t<a href="' +((__t = (reminds.viewAllHref)) == null ? '' : __t) +'" target="_blank"\n\t\t\t\t>' +((__t = ( reminds.viewAllText||"查看全部")) == null ? '' : __t) +'</a\n\t\t\t>\n\t\t</li>\n\t</div>\n</div>\n<div class="list-wrapper-mask"></div>\n'; } ;__p += '\n';}return __p};

@@ -8,3 +8,3 @@ {

"configUser": "ux",
"version": "1.0.63",
"version": "1.0.64",
"scripts": {

@@ -11,0 +11,0 @@ "build-prod": "rm -rf index.css && rm -rf index.js && grunt build",

@@ -11,3 +11,3 @@ this["JST"] = this["JST"] || {};

this["JST"]["header/icon-view/lang"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '<a class=\'lang-region-box\'>\n <span class="i18n_item ' +((__t = ( I18NUserLang )) == null ? '' : __t) +' header-icon-lang_' +((__t = ( I18NUserLang )) == null ? '' : __t) +'">&nbsp;</span>\n <div class="btn-tips">\n <div class="entry-trangle-top"></div>\n ' +((__t = ( title )) == null ? '' : __t) +'\n </div>\n</a>\n<div class="dp-down-list ">\n\t\t<ul class="list-ul-box dp-list-front">\n '; Talent._.each(list,function(item,index){ ;__p += '\n <li class="dp-list-item"><a href="javascript:;"data-text="' +((__t = ( item.text )) == null ? '' : __t) +'" data-value="' +((__t = ( item.value )) == null ? '' : __t) +'" index="' +((__t = ( index )) == null ? '' : __t) +'">' +((__t = ( item.text )) == null ? '' : __t) +'</a></li>\n '; }) ;__p += '\n\t\t</ul>\n\t\t<ul class="list-ul-box dp-list-shadow">\n\t\t\t'; Talent._.each(list,function(item,index){ ;__p += '\n\t\t\t\t<li class="' +((__t = ( 'item-'+ index )) == null ? '' : __t) +'" item-index="' +((__t = ( index )) == null ? '' : __t) +'"><a href="">' +((__t = ( item.text )) == null ? '' : __t) +'</a></li>\n\t\t\t'; }) ;__p += '\n\t\t</ul>\n\t</div>\n\n';}return __p};
this["JST"]["header/icon-view/lang"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '<a class=\'lang-region-box lang_region_' +((__t = ( I18NUserLang )) == null ? '' : __t) +'\'>\n <span class="i18n_item ' +((__t = ( I18NUserLang )) == null ? '' : __t) +' header-icon-lang_' +((__t = ( I18NUserLang )) == null ? '' : __t) +'">&nbsp;</span>\n <div class="btn-tips">\n <div class="entry-trangle-top"></div>\n ' +((__t = ( title )) == null ? '' : __t) +'\n </div>\n</a>\n<div class="dp-down-list ">\n\t\t<ul class="list-ul-box dp-list-front">\n '; Talent._.each(list,function(item,index){ ;__p += '\n <li class="dp-list-item"><a href="javascript:;"data-text="' +((__t = ( item.text )) == null ? '' : __t) +'" data-value="' +((__t = ( item.value )) == null ? '' : __t) +'" index="' +((__t = ( index )) == null ? '' : __t) +'">' +((__t = ( item.text )) == null ? '' : __t) +'</a></li>\n '; }) ;__p += '\n\t\t</ul>\n\t\t<ul class="list-ul-box dp-list-shadow">\n\t\t\t'; Talent._.each(list,function(item,index){ ;__p += '\n\t\t\t\t<li class="' +((__t = ( 'item-'+ index )) == null ? '' : __t) +'" item-index="' +((__t = ( index )) == null ? '' : __t) +'"><a href="">' +((__t = ( item.text )) == null ? '' : __t) +'</a></li>\n\t\t\t'; }) ;__p += '\n\t\t</ul>\n\t</div>\n';}return __p};

@@ -14,0 +14,0 @@ this["JST"]["header/icon-view/message"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '<a\n\tclass="common-link ' +((__t = (iconName)) == null ? '' : __t) +'"\n\thref="' +((__t = ( (reminds.remindCount)?'javascript:void(0)':href )) == null ? '' : __t) +'"\n\t';if(!reminds.remindCount&&target){;__p += '\n\ttarget=" ' +((__t = (target)) == null ? '' : __t) +'" ';};__p += '> '; if(reminds.remindCount){ ;__p += '\n\t<span class="new-message">\n\t\t' +((__t = ( (reminds.remindCount <= 99)?reminds.remindCount : "99+" )) == null ? '' : __t) +'\n\t</span>\n\t'; } ;__p += '\n\t<div class="btn-tips">\n\t\t<div class="entry-trangle-top"></div>\n\t\t' +((__t = (title)) == null ? '' : __t) +'\n\t</div>\n</a>\n\n'; if(reminds.remindList.length){ ;__p += '\n<div class="list-wrapper">\n\t<div class="content-visible">\n\t\t<div class="title">\n\t\t\t' +((__t = ( (reminds.newNoticeText||"新通知")+"(" + reminds.remindCount + ")")) == null ? '' : __t) +'\n\t\t</div>\n\t\t<ul class="message-list">\n\t\t\t'; Talent._.each(reminds.remindList,function(item,index){ ;__p += '\n\t\t\t<li class="message-item">\n\t\t\t\t<a href="' +((__t = (item.href)) == null ? '' : __t) +'" target="_blank" class="message-item-a">\n\t\t\t\t\t<span class="icon-box ' +((__t = (item.className)) == null ? '' : __t) +'"></span>\n\t\t\t\t\t<span class="content">\n\t\t\t\t\t\t' +((__t = (item.content)) == null ? '' : __t) +'\n\t\t\t\t\t</span>\n\t\t\t\t\t<span class="num">\n\t\t\t\t\t\t' +((__t = (item.length)) == null ? '' : __t) +'\n\t\t\t\t\t</span>\n\t\t\t\t\t<span class="date">\n\t\t\t\t\t\t' +((__t = (item.date)) == null ? '' : __t) +'\n\t\t\t\t\t</span>\n\t\t\t\t</a>\n\t\t\t</li>\n\t\t\t'; }) ;__p += '\n\t\t</ul>\n\t\t<li class="view-all">\n\t\t\t<a href="' +((__t = (reminds.viewAllHref)) == null ? '' : __t) +'" target="_blank"\n\t\t\t\t>' +((__t = ( reminds.viewAllText||"查看全部")) == null ? '' : __t) +'</a\n\t\t\t>\n\t\t</li>\n\t</div>\n</div>\n<div class="list-wrapper-mask"></div>\n'; } ;__p += '\n';}return __p};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc