domain.cls의 버전 기록 - 6개 버전
domain.cls 제작자: Bruce Wen
domain.cls의 버전 기록 - 6개 버전
이전 버전의 사용에 주의하십시오! 이 버전들은 테스트 및 참조 용도로만 표시되는 것입니다.항상 최신 버전의 부가 기능을 사용해야 합니다.
최신 버전
버전 1.6
2022년 2월 22일에 출시 - 68.21 KBfirefox 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
2022년 2월 22일에 출시 - 68.21 KBfirefox 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
2022년 2월 22일에 출시 - 68.17 KBfirefox 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
2022년 2월 22일에 출시 - 68.17 KBfirefox 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
2022년 2월 17일에 출시 - 8.84 KBfirefox 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
2022년 2월 16일에 출시 - 8.84 KBfirefox 48.0 이상에서 작동Fix domain name
Only choose last 2 parts in document.domain as domain nameMozilla Public License 2.0에 따라 릴리스된 소스 코드