Skip to content

Commit

Permalink
Provide Accessor for Each Class (4.0.21)
Browse files Browse the repository at this point in the history
  • Loading branch information
syntropo committed Feb 25, 2017
1 parent a428611 commit d75ce64
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 12 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "moviemasher.js",
"main": "dist/moviemasher.js",
"version": "4.0.20",
"version": "4.0.21",
"homepage": "http://www.moviemasher.com",
"authors": [ {"name": "Movie Masher", "email": "[email protected]" }],
"moduleType": ["amd"],
Expand Down
16 changes: 12 additions & 4 deletions dist/moviemasher.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*! moviemasher.js - v4.0.20 - 2016-09-11
* Copyright (c) 2016 Movie Masher; Licensed */
/*! moviemasher.js - v4.0.21 - 2017-02-25
* Copyright (c) 2017 Movie Masher; Licensed */
/*global module:true,define:true*/
(function (name, context, definition) {
'use strict';
Expand Down Expand Up @@ -134,8 +134,9 @@ var Action = function(player, redo_func, undo_func, destroy_func){
delete this.undo_add_objects;
delete this.redo_delete_objects;
};

})(Action.prototype);
MovieMasher.Action = Action;

var Audio = {
buffer_source: function(buffer){
Expand Down Expand Up @@ -308,6 +309,7 @@ var Audio = {
__last_seconds: 0,
__sync_seconds: 0,
};
MovieMasher.Audio = Audio;

var Colors = {
yuv2rgb: function(yuv) {
Expand Down Expand Up @@ -557,6 +559,7 @@ var Defaults = {
return ob;
},
};
MovieMasher.Defaults = Defaults;

var Filter = {
registered: {},
Expand Down Expand Up @@ -1407,6 +1410,7 @@ var Mash = {
return clips;
},
};
MovieMasher.Mash = Mash;

var Option = {
mash: {
Expand Down Expand Up @@ -1434,6 +1438,8 @@ var Option = {
hscrollpadding: 20,
}
};
MovieMasher.Option = Option;


var Player = function(evaluated) {
if (! Util.isob(evaluated)) evaluated = {};
Expand Down Expand Up @@ -2891,6 +2897,7 @@ var Player = function(evaluated) {
if (this.__mash_length === Mash.length_of_clips(track.clips)) this.mash_length_changed();
};
})(Player.prototype);
MovieMasher.Player = Player;

var Players = {
draw_delayed: function(){
Expand Down Expand Up @@ -2918,8 +2925,8 @@ var Players = {
instances: [],
current: null,
delayed_timer: 0,

};
MovieMasher.Players = Players;

var TimeRange = function(start, rate, duration){
if (start) this.frame = Number(start) || 0;
Expand Down Expand Up @@ -3161,6 +3168,7 @@ TimeRange.fromSomething = function(something){
this.frames = Math.min(time.frame, this.frames);
};
})(TimeRange.prototype);
MovieMasher.TimeRange = TimeRange;

var Util = {
array_empty: function(array){
Expand Down
6 changes: 3 additions & 3 deletions dist/moviemasher.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
@@ -1,7 +1,7 @@
{
"name": "moviemasher.js",
"description": "JavaScript library for realtime, browser-based video and audio editing",
"version": "4.0.20",
"version": "4.0.21",
"author": {
"name": "Movie Masher",
"email": "[email protected]"
Expand Down
3 changes: 2 additions & 1 deletion src/others/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@ var Action = function(player, redo_func, undo_func, destroy_func){
delete this.undo_add_objects;
delete this.redo_delete_objects;
};

})(Action.prototype);
MovieMasher.Action = Action;
1 change: 1 addition & 0 deletions src/others/audio.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,4 @@ var Audio = {
__last_seconds: 0,
__sync_seconds: 0,
};
MovieMasher.Audio = Audio;
1 change: 1 addition & 0 deletions src/others/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,4 @@ var Defaults = {
return ob;
},
};
MovieMasher.Defaults = Defaults;
1 change: 1 addition & 0 deletions src/others/mash.js
Original file line number Diff line number Diff line change
Expand Up @@ -607,3 +607,4 @@ var Mash = {
return clips;
},
};
MovieMasher.Mash = Mash;
3 changes: 2 additions & 1 deletion src/others/option.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ var Option = {
timeline: {
hscrollpadding: 20,
}
};
};
MovieMasher.Option = Option;
1 change: 1 addition & 0 deletions src/others/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -1455,3 +1455,4 @@ var Player = function(evaluated) {
if (this.__mash_length === Mash.length_of_clips(track.clips)) this.mash_length_changed();
};
})(Player.prototype);
MovieMasher.Player = Player;
2 changes: 1 addition & 1 deletion src/others/players.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ var Players = {
instances: [],
current: null,
delayed_timer: 0,

};
MovieMasher.Players = Players;
1 change: 1 addition & 0 deletions src/others/time.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,3 +238,4 @@ TimeRange.fromSomething = function(something){
this.frames = Math.min(time.frame, this.frames);
};
})(TimeRange.prototype);
MovieMasher.TimeRange = TimeRange;

0 comments on commit d75ce64

Please sign in to comment.