Sha256: 61f1b0942fb5e95a1788a3e89a9968236cf2efdd4197b09a19cf79d891d21697
Contents?: true
Size: 611 Bytes
Versions: 1
Compression:
Stored size: 611 Bytes
Contents
(function() { <% voxels_dir_path = Rails.root.join( 'app', 'assets', 'javascripts', 'voxels' ) @voxels = Dir.entries(voxels_dir_path).reject { |entry| entry.match(/\./) } if Dir.exists?(voxels_dir_path) @voxels ||= [] %> var statics = [ 'ngAnimate', 'ngAria', 'ngMessages', 'ngMaterial', 'ui.router', 'Navigation' ]; var dynamics = <%=raw @voxels %>; var dependencies = statics.concat(dynamics); // start voxality module with all sub module window.voxality = angular.module('voxality', dependencies); }).call(this);
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
voxality_core-0.1.0.1 | lib/generators/voxality_core/templates/app/assets/javascripts/voxality.js.erb |