frau-framed
v1.2.0
Published
Determine if a FRA is iframed or not
Downloads
4,845
Readme
frau-framed
Simple utility to determine if a D2L free range application (frau) is loaded in an iframe.
Install
npm install frau-framed --save
Usage
var framed = require('frau-framed');
if (framed()) {
console.log('I\'m in an iframe!');
}
Contributing
Fork the repository. Committing directly against this repository is highly discouraged.
Make your modifications in a branch, updating and writing new unit tests as necessary in the
spec
directory.Ensure that all tests pass with
npm test
rebase
your changes against master. Do not merge.Submit a pull request to this repository. Wait for tests to run and someone to chime in.
Code Style
This repository is configured with EditorConfig and ESLint rules.
Versioning and Releasing
This repo is configured to use semantic-release
. Commits prefixed with fix:
and feat:
will trigger patch and minor releases when merged to main
.
To learn how to create major releases and release from maintenance branches, refer to the semantic-release GitHub Action documentation.