Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-fullcalendar

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-fullcalendar - npm Package Compare versions

Comparing version 0.0.1 to 0.0.3

15

addon/components/full-calendar.js

@@ -19,4 +19,17 @@ import Ember from 'ember';

// scheduler defaults to non-commercial license
schedulerLicenseKey: 'CC-Attribution-NonCommercial-NoDerivatives',
schedulerLicenseKey: Ember.computed(function() {
// load the consuming app's config
const applicationConfig = this.container.lookupFactory('config:environment'),
defaultSchedulerLicenseKey = 'CC-Attribution-NonCommercial-NoDerivatives';
if (applicationConfig &&
applicationConfig.emberFullCalendar &&
applicationConfig.emberFullCalendar.schedulerLicenseKey) {
return applicationConfig.emberFullCalendar.schedulerLicenseKey;
}
return defaultSchedulerLicenseKey;
}),
fullCalendarOptions: [

@@ -23,0 +36,0 @@ // general display

2

package.json
{
"name": "ember-fullcalendar",
"version": "0.0.1",
"version": "0.0.3",
"description": "An Ember Component for FullCalendar and FullCalendar Scheduler",

@@ -5,0 +5,0 @@ "directories": {

@@ -83,1 +83,10 @@ # ember-fullcalendar

```
## FullCalendar Scheduler License
By default, the addon uses the [Free Trial License Key](http://fullcalendar.io/scheduler/download/) provided by FullCalendar. If you have a paid license key, you may set it by explicitly passing it into the component as `schedulerLicenseKey` or, the better option, is to set it in your `config/environment.js` file like so:
```javascript
emberFullCalendar: {
schedulerLicenseKey: '<your license key>'
}
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc