retreaverjs-rails 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e1fc53f5e9932794fbc36af24d41d2cd7be6a7fa
4
+ data.tar.gz: 369e0fb08b2abdc8cf577a0ca8b70527b4b388ab
5
+ SHA512:
6
+ metadata.gz: 3cba634edca9f33bceffcff65d33ee3eec8fb10b2e293e0b866e66e682afde16c419ce3be10c83075748f03c941933711ff2d7c2366727de19699431da624945
7
+ data.tar.gz: 78092b847ef92805a213b42d76bc2301dc4cce744e596f846aba0547c183bded24d1fabf938f2308f8758f1398bc8afe5fef673c0d3fd14da9a8acc684f65605
data/Gruntfile.js ADDED
@@ -0,0 +1,48 @@
1
+ module.exports = function (grunt) {
2
+
3
+ grunt.initConfig({
4
+ pkg: grunt.file.readJSON('package.json'),
5
+ concat: {
6
+ options: {
7
+ separator: ';'
8
+ },
9
+ dist: {
10
+ src: [
11
+ 'src/retreaver/base/helpers.js',
12
+ 'src/retreaver/base/cookies.js',
13
+ 'src/retreaver/base/base64.js',
14
+ 'src/retreaver/base/data.js',
15
+ 'src/retreaver/base/model.js',
16
+ 'src/retreaver/base/request.js',
17
+ 'src/retreaver/base/request_number.js',
18
+ 'src/retreaver/cache.js',
19
+ 'src/retreaver/number.js',
20
+ 'src/retreaver/campaign.js',
21
+ 'src/retreaver/callpixels.js'
22
+ ],
23
+ dest: 'dist/<%= pkg.name %>.js'
24
+ }
25
+ },
26
+ uglify: {
27
+ options: {
28
+ banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n'
29
+ },
30
+ dist: {
31
+ files: {
32
+ 'dist/<%= pkg.name %>.min.js': ['<%= concat.dist.dest %>']
33
+ }
34
+ }
35
+ },
36
+ watch: {
37
+ files: ['<%= jshint.files %>'],
38
+ tasks: ['jshint']
39
+ }
40
+ });
41
+
42
+ grunt.loadNpmTasks('grunt-contrib-uglify');
43
+ grunt.loadNpmTasks('grunt-contrib-jshint');
44
+ grunt.loadNpmTasks('grunt-contrib-watch');
45
+ grunt.loadNpmTasks('grunt-contrib-concat');
46
+
47
+ grunt.registerTask('default', ['concat', 'uglify']);
48
+ };