         ]
         dest: 'tmp/factlink.core.js'
       core:
+        options: {
+          banner: banner_template
+        }
         src: [
-          '<banner>',
           'libs/jquery-1.7.2.js',
           'libs/underscore.js',
           'src/js/core.js',

# global config:true, file:true, task:true, module: true

module.exports = (grunt) ->
  grunt.initConfig
    pkg: grunt.file.readJSON 'package.json'
    meta:
      banner: '/*!
       * <%= pkg.title || pkg.name %> - v<%= pkg.version %> -
       <%= pkg.homepage ? " * " + pkg.homepage : "" %>
       *
       * Date: <%= grunt.template.today("m/d/yyyy") %>
       *
       * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author %>;
       */'
    concat:
      wrapped_files:
        src: [

        dest: 'dist/factlink.core.js'
      loader:
        src: [
          'libs/easyXDM.js',
          'src/js/loader.js'
        ]
        dest: 'dist/factlink.js'

      options: {
        stripBanners: true,
        'dist/factlink.start_annotating.js':   'src/js/start_annotating.js'
        'dist/factlink.stop_annotating.js':    'src/js/stop_annotating.js'
        'dist/factlink.start_highlighting.js': 'src/js/start_highlighting.js'
        'dist/factlink.stop_highlighting.js':  'src/js/stop_highlighting.js'
        'dist/easyXDM/easyXDM.js':             'libs/easyXDM.js'
      }
    copy:
      main:
        files: [
