- Created complete documentation in docs/ directory - Added PROJECT_OVERVIEW.md with feature highlights and getting started guide - Added ARCHITECTURE.md with system design and technical details - Added SECURITY.md with comprehensive security implementation guide - Added DEVELOPMENT.md with development workflows and best practices - Added DEPLOYMENT.md with production deployment instructions - Added API.md with complete REST API documentation - Added CONTRIBUTING.md with contribution guidelines - Added CHANGELOG.md with version history and migration notes - Reorganized all documentation files into docs/ directory for better organization - Updated README.md with proper documentation links and quick navigation - Enhanced project structure with professional documentation standards
31 lines
996 B
JavaScript
31 lines
996 B
JavaScript
if (!('boxShadow' in document.body.style)) {
|
|
document.body.setAttribute('class', 'noBoxShadow');
|
|
}
|
|
|
|
document.body.addEventListener("click", function(e) {
|
|
var target = e.target;
|
|
if (target.tagName === "INPUT" &&
|
|
target.getAttribute('class').indexOf('liga') === -1) {
|
|
target.select();
|
|
}
|
|
});
|
|
|
|
(function() {
|
|
var fontSize = document.getElementById('fontSize'),
|
|
testDrive = document.getElementById('testDrive'),
|
|
testText = document.getElementById('testText');
|
|
function updateTest() {
|
|
testDrive.innerHTML = testText.value || String.fromCharCode(160);
|
|
if (window.icomoonLiga) {
|
|
window.icomoonLiga(testDrive);
|
|
}
|
|
}
|
|
function updateSize() {
|
|
testDrive.style.fontSize = fontSize.value + 'px';
|
|
}
|
|
fontSize.addEventListener('change', updateSize, false);
|
|
testText.addEventListener('input', updateTest, false);
|
|
testText.addEventListener('change', updateTest, false);
|
|
updateSize();
|
|
}());
|