diff options
| author | Kawandeep Virdee | 2013-11-10 00:21:41 -0500 |
|---|---|---|
| committer | Kawandeep Virdee | 2013-11-10 00:21:41 -0500 |
| commit | 1074e8881f579469ed3d812e7deda1ea4e10929f (patch) | |
| tree | b0149b2e345f750177492c7b52dabeae320b22db | |
| parent | ffd23c51333fc0e95c08da69650d7d5ca2230e18 (diff) | |
| download | clip-play-1074e8881f579469ed3d812e7deda1ea4e10929f.tar.bz2 | |
just revealing the latest model
| -rw-r--r-- | assets/js/app.js | 3 | ||||
| -rw-r--r-- | assets/js/views/sample.js | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/assets/js/app.js b/assets/js/app.js index 6cba5f3..e480cda 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -4,6 +4,7 @@ ClipPlay.App = new Marionette.Application(); ClipPlay.App.addInitializer(function(options) { var samples_collection = new ClipPlay.Collections.Samples(); + window.SAMPLES = samples_collection; var sample_editor_view = new ClipPlay.Views.SampleEditor({ collection: samples_collection }); @@ -12,4 +13,4 @@ ClipPlay.App.addInitializer(function(options) { }); -ClipPlay.App.start();
\ No newline at end of file +ClipPlay.App.start(); diff --git a/assets/js/views/sample.js b/assets/js/views/sample.js index 74da663..250e1e0 100644 --- a/assets/js/views/sample.js +++ b/assets/js/views/sample.js @@ -21,7 +21,7 @@ ClipPlay.Views.Sample = Marionette.ItemView.extend({ }); $('#video').append(iframe[0]); var player = new OP.Player(iframe[0]); - window.player = player; + window.BOKASHAKA = that; that.model.set('player', player); that.model.set('iframe', iframe); |
