Skip to content

Commit

Permalink
improve check for options object existence
Browse files Browse the repository at this point in the history
  • Loading branch information
robhrt7 committed Jun 18, 2015
1 parent d1d1fce commit 5391c32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ define([

var moduleCss = new Css("/node_modules/sourcejs-spec-dependencies/assets/css/specDependencies.css");

this.options.pluginsOptions = this.options.pluginsOptions || this.options.plugins || {};
this.options.pluginsOptions.specDependencies = $.extend(true, {

DEPENDENCIES_ROOT_CLASS: "source_deps",
Expand Down

0 comments on commit 5391c32

Please sign in to comment.