Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
initial commit
  • Loading branch information
bastiaan.andriessen committed Aug 19, 2015
0 parents commit 44d2bf3
Show file tree
Hide file tree
Showing 22 changed files with 8,005 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.DS_Store
.sass-cache
.git
app/assets/sass/*
app/bower_components/*
node_modules/*
39 changes: 39 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
'use strict';

module.exports = function(grunt) {

grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),

project: {
app: ['app'],
assets: ['<%= project.app %>/assets'],
css: ['<%= project.assets %>/sass/style.scss']
},
sass: {
dev: {
options: {
style: 'expanded',
compass: false
},
files: {
'<%= project.assets %>/css/style.css':'<%= project.css %>'
}
}
},
watch: {
sass: {
files: '<%= project.assets %>/sass/{,*/}*.{scss,sass}',
tasks: ['sass:dev']
}
}
});

grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-contrib-watch');

grunt.registerTask('default', [
'watch'
]);

};
20 changes: 20 additions & 0 deletions app/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
(function(){
'use strict';

// Declare app level module which depends on views, and components
var app = angular.module('spark', [
'ngRoute',
'spark.config',
'spark.utils',
'spark.result',
'spark.home',
'spark.admin',
'spark.search'
]);

app.controller('AppCtrl', ['$rootScope', '$scope', '$log', '$q', '$timeout', 'APP_DATA', 'utils', function($rootScope, $scope, $log, $q, $timeout, APP_DATA, utils){
var application = this;
this.appData = APP_DATA;
utils.log('[app.js] INITIALIZE APPLICATION STORMFORS STATS: V'+APP_DATA.APP_VERSION);
}]);
})();
Loading

0 comments on commit 44d2bf3

Please sign in to comment.