![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Clean, opinionated foundation for new projects — to boldly go where no man has gone before
To boldly go where no man has gone before
npm install -g grunt-cli
npm install -g jspm
npm install
npm install
npm start
or npm run start-hmr
if you need hot module reloadingnpm run build
tcomb
and tcomb-validation
, built-in handy refinements.sitemap.xml
generation with grunt-sitemap-xmlAnd a lot more under the hood. We just didn't have time to document all features. Yet.
Work in progress
Deployed version of Kotsu from master branch can be found here.
Note that Examples section so far features only least part of predefined elements and features.
IE | Edge | Chrome | Firefox | Safari | Opera | Opera Mobile | iOS Safari | Android |
---|---|---|---|---|---|---|---|---|
9+ | 12+ | 21+ | 28+ | 6.1+ | 12.1+ | 12.1+ | 7+ | 4+ |
To enable ES6 features in IE11 and below, uncomment import 'babel-polyfill'
in main.js
. See details here.
Default build shipped with jQuery 3.1.0+ which doesn't support IE8. Replace it with pre 3.0.0 version if you need support of IE8.
IE | Edge | Chrome | Firefox | Safari | Opera | Opera Mobile | iOS Safari | Android |
---|---|---|---|---|---|---|---|---|
10+ | 12+ | 21+ | 28+ | 6.1+ | 12.1+ | 12.1+ | 7.1+ | 4.4+ |
Refer to Ekzo Browsers Support section for details about graceful regression for IE9 and below, which included in Kotsu by default.
To disable graceful regressions for older IE, remove IE()
macro call from base layout.
In IE9 and below users will see banner before page content with message about outdated browser and link to Outdated Browser.
To disable Outdated Browser message, remove OutdatedBrowser()
macro call from base layout.
Copyright 2014 LotusTM. Licensed under the Apache 2.0 license.
1.9.0
[templates] Added ability to exclude certain pages from Breadcrumb()
component with new Front Matter excludeFromBreadcrumb
property set to true
.
It is useful for for landing or tag parent index-pages, which should never be listed in breadcrumb.
Note, that it will also hide page from breadcrumb in search snippets.
[templates] Added lastItemClass
parameter for Breadcrumb()
component, which allows to set specific class on last item of the breadcrumb.
[modules] Added better error output for traverse
and relied on it nunjucks-render
and format
.
New error includes input, which failed rendering. For objects it will include currently rendered string of the leaf.
[modules] Added error messages in case wrong values passed to getLocaleProps()
, getLocaleDir()
and related Nunjucks localeDir()
.
This should clarify obscurity of vague and hard to debug internal errors when grunt.locales
, Matter's SITE.locales
or PAGE.locale
are undefined or wrong.
[conf] Added caching of node_modules
for Travis.
[tests] Added Breadcrumb()
Nunjucks component tests.
[grunt] Generated sitemap.xml
will no longer have trailing slashes in URLs, which makes it uniform with trailing slash-less URLs in site navigation.
To revert this change, remove from Grunt config sitemap_xml.options.trailingSlash: false
option.
[templates] Breadcrumb()
component now will always print last item, regardless of displayLast
option. However, when displayLast
enabled, last item will be hidden visually and for screen readers with display: none
.
It required to confront requirements for BreadcrumbList
structured data, dictated by Google. Breadcrumb should be full and include all tail.
[templates] Breadcrumb()
last item changed from <span>
, which previously indicated inactive element, to fully working <a>
.
It's done to confront BreadcrumbList
structured data requirements.
If you still wish to keep last item inactive, use newly added lastItemClass
option to set a specific class, like g-link--inherit
, which will make anchor appear like a regular text, making it inactive for users, while still accessible for bots.
[package][tests] Replaced NPM postbuild
script, which checks clean working dir, with more reliable clean-workdir.js
test.
It will no longer occasionally pass wrongly test when grep
is unavailable (like in Windows environment out of box).
[conf] Both Travis and Circle CI will no use latest version of NPM to avoid issues with discrepancies regarding package-lock.json
format.
It is recommended to use for development latest NPM too:
npm install -g npm@latest
[conf] Enabled again package-lock.json
updates on npm install
for AppVeyor #289.
[grunt] Thanks to update of grunt-gray-matter
to version 1.3.0 pages with Front Matter having syntax errors will no longer be silently ignored.
Instead, detailed error message will be thrown.
See #320.
[conf] Fixed Travis ignoring failed tests and exit code 1 in postbuild phase.
It is happened because when script runs in after_success
phase exit codes 1 are ignored. See Travis docs.
Thus, .travis.yml
after_success
changed to script
which will properly react to exit code 1.
[tests][package] Fixed Jest testPathIgnorePatterns
which resulted in ignoring tests on some CI (like Travis).
For instance, Travis builds into /home/travis/build/LotusTM/Kotsu
, and specified /build/
in ignore patterns of Jest effectively ignored any path, which contained build
. See jest#1057.
<rootDir>
has been added to ignore only contained in root build
and temp
directories.
FAQs
Clean, opinionated foundation for new projects — to boldly go where no man has gone before
The npm package kotsu receives a total of 2 weekly downloads. As such, kotsu popularity was classified as not popular.
We found that kotsu demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.