Skip to content

Commit

Permalink
bump release
Browse files Browse the repository at this point in the history
  • Loading branch information
abusedmedia committed Nov 1, 2020
1 parent b15bf32 commit d7c09f9
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2020 www.presenta.cc
Copyright 2020 Fabio Franchino

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ To build a release:
## Licence

**PRESENTA Lib** is released under the [3-Clause BSD license](LICENSE).

Copyright © 2020 Fabio Franchino, [https://fabiofranchino.com](https://fabiofranchino.com)
9 changes: 5 additions & 4 deletions dist/presenta.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// https://lib.presenta.cc v0.0.53 Copyright 2020 Fabio Franchino
// https://lib.presenta.cc v0.0.54 - BSD-3-Clause License - Copyright 2020 Fabio Franchino
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Presenta = factory());
}(this, (function () { 'use strict';

var version = "0.0.53";
var version = "0.0.54";

function styleInject(css, ref) {
if ( ref === void 0 ) ref = {};
Expand Down Expand Up @@ -623,7 +623,7 @@
var css$5 = {"step":"style_step__2k6dh","initState":"style_initState__3wzFT"};
styleInject(css_248z$w);

const steps = function (sceneElement, modConfig, sceneConfig, projectConfig) {
const steps = function (sceneElement, modConfig, sceneConfig) {
let allStepElements = [];
let index = 0;
sceneConfig.blocks.forEach(b => {
Expand Down Expand Up @@ -1306,6 +1306,7 @@
utils.globs(child, sceneConfig);
utils.props(child, sceneConfig);
sceneConfig._el = child;
sceneConfig._rootElement = rootElement;
this.el = child;
/*
Init blocks if any
Expand Down Expand Up @@ -1333,7 +1334,7 @@

if (Mod) {
if (modConfig) {
const mod = new Mod(child.querySelector(`.${css$e.content}`), modConfig, sceneConfig, projectConfig);
const mod = new Mod(child.querySelector(`.${css$e.content}`), modConfig, sceneConfig);
modInstances.push(mod);
}
}
Expand Down
2 changes: 1 addition & 1 deletion dist/presenta.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"exports": false
},
"browserslist": "> 0.5%, IE 11, not dead",
"license": "MIT",
"license": "BSD-3-Clause",
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.10.2",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import cssnano from 'cssnano'
import pkg from './package.json'

const terser = require('rollup-plugin-terser').terser
const copyright = `// ${pkg.homepage} v${pkg.version} Copyright ${(new Date()).getFullYear()} ${pkg.author.name}`
const copyright = `// ${pkg.homepage} v${pkg.version} - BSD-3-Clause License - Copyright ${(new Date()).getFullYear()} ${pkg.author.name}`

export default [{
input: 'src/index.js',
Expand Down
3 changes: 2 additions & 1 deletion src/core/Scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const Scene = function (sceneConfig, projectConfig, rootElement) {
u.globs(child, sceneConfig)
u.props(child, sceneConfig)
sceneConfig._el = child
sceneConfig._rootElement = rootElement
this.el = child

/*
Expand Down Expand Up @@ -85,7 +86,7 @@ const Scene = function (sceneConfig, projectConfig, rootElement) {
if (!Mod) console.log(`Module "${k}" not found. Maybe you forgot to include it.`)
if (Mod) {
if (modConfig) {
const mod = new Mod(child.querySelector(`.${css.content}`), modConfig, sceneConfig, projectConfig)
const mod = new Mod(child.querySelector(`.${css.content}`), modConfig, sceneConfig)
modInstances.push(mod)
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/modules/steps/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import css from './style.css'

const steps = function (sceneElement, modConfig, sceneConfig, projectConfig) {
const steps = function (sceneElement, modConfig, sceneConfig) {
let allStepElements = []

let index = 0
Expand Down

0 comments on commit d7c09f9

Please sign in to comment.