Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
moff
Advanced tools
Readme
Website: moffjs.com
###Create mobile first website then extend to tablet and desktop is so easy now!
1. Create mobile first websiteCreate website only for mobile device. And display the main information needed for user. All other, additional parts could be registered as AMD modules and will be loaded by user request. E.g. red color links "More images", "Show on the map" and "Share this page". Thus you will maximum reduce page size, show main content and will show user availability of additional information. |
2. Extend needed parts to tabletYou can adjust parts of the page which will be loaded automatically on tablet. Data Events will help to load AMD module which will apply all needed functionality. E.g. on tablet you can see thumbnails carousel with slideshow. |
3. Get fully featured website on desktopThen same way as on tablet you can load all website features on desktop. E.g. additionally loaded Google Map module. |
Before installing be sure bower
is installed.
npm install bower -g
Install Moff
bower install moff --save
Moff has three types of compiled files in ./dist
directory.
moff.js
- Full, not minified version with debug info + soursermap.moff.prod.js
- Production, not minified version. W/o debug info.moff.min.js
- Minified, production version. W/o debug info.Clone Moff repository.
git clone git@github.com:kfuzaylov/moff.git
cd moff
npm install
Before package installation, npm installs testem, gulp and bower as global binary.
npm install testem -g && npm install gulp -g && npm install bower -g && bower install
After made changes, need to update framework version in bower.json
file and compiled files.
gulp compile
Tests are kept in ./packages
directory. You can run tests only for some package.
gulp test --package=amd
Run tests for all packages.
gulp test --package=all
Tests will run via Testem. On press "Enter" button on console, gulp re-compile test files to get the latest version.
The MIT License (MIT)
Copyright (c) 2015 - 2018 Kadir Fuzaylov
FAQs
Mobile first framework
The npm package moff receives a total of 7 weekly downloads. As such, moff popularity was classified as not popular.
We found that moff demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.