היסטוריית גרסאות עבור domain.cls - 6 גרסאות
domain.cls Bruce Wen מאת
היסטוריית גרסאות עבור domain.cls - 6 גרסאות
יש להיזהר עם גרסאות ישנות! גרסאות אלה מוצגות למטרות בדיקה ועיון.מומלץ תמיד להשתמש בגרסה העדכנית של תוספת.
הגרסה העדכנית ביותר
גרסה 1.6
תאריך שחרור: 22 פבר׳ 2022 - 68.21 ק״בעובד עם firefox 48.0 ומעלהTo support sub-domain like en.wikipedia.org, we need to use en_wikipedia as body class to distinguish other language version of wikipedia. Similar, google translate should have different body class from gmail.קוד המקור משוחרר תחת Mozilla Public License 2.0
גרסאות ישנות יותר
גרסה 1.5
תאריך שחרור: 22 פבר׳ 2022 - 68.21 ק״בעובד עם firefox 48.0 ומעלהBug fix:
If domain name consists of 2 or 3 labels, the code below won't work - it will return empty:
d_core = d_parts.slice(1, d_parts.length-1).join('_')
It's fixed as:
var d_core = d_parts[d_parts.length-2]
if (d_parts.length > 3){
d_core = d_parts.slice(1, d_parts.length-1).join('_')
}קוד המקור משוחרר תחת Mozilla Public License 2.0
גרסה 1.4
תאריך שחרור: 22 פבר׳ 2022 - 68.17 ק״בעובד עם firefox 48.0 ומעלהFix bug:
by using d_array.slice(start, end) - end is not included. That's different from node.js behavior.קוד המקור משוחרר תחת Mozilla Public License 2.0
גרסה 1.3
תאריך שחרור: 22 פבר׳ 2022 - 68.17 ק״בעובד עם firefox 48.0 ומעלהIf domain name consists of more than 3 labels, then use labels from 2nd to the one before last as the body class name. The dot will be replaced with underscore.
For example, if domain name is sandbox.gitlab.test.java.oracle.com, then use "gitlab_test_java_oracle" as body class.קוד המקור משוחרר תחת Mozilla Public License 2.0
גרסה 1.2
תאריך שחרור: 17 פבר׳ 2022 - 8.84 ק״בעובד עם firefox 48.0 ומעלהBy using domain name and top level domain are not necessary, and it will cause css misunderstanding the 'class' name as the dot '.' is special keyword for css class selector.
Thus, change to use domain name only as body class.קוד המקור משוחרר תחת Mozilla Public License 2.0
גרסה 1.1
תאריך שחרור: 16 פבר׳ 2022 - 8.84 ק״בעובד עם firefox 48.0 ומעלהFix domain name
Only choose last 2 parts in document.domain as domain nameקוד המקור משוחרר תחת Mozilla Public License 2.0