ng.cx.google.drive
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -10,3 +10,3 @@ (function () { | ||
return function (cb) { | ||
var builder = new Builder(appConfig.output, appConfig.typescript.systemConfig), | ||
var builder = new Builder(appConfig.output), | ||
inputPath = appConfig.typescript.inputPath, | ||
@@ -16,9 +16,3 @@ outputFile = appConfig.dist + 'ng.cx.google.drive.js'; | ||
builder.bundle(inputPath, outputFile, { minify: true, sourceMaps: true }) | ||
.then(function () { | ||
gulp.src([outputFile, appConfig.typescript.systemConfig]) | ||
.pipe(concat('ng.cx.google.drive.js')) | ||
.pipe(gulp.dest(appConfig.dist)); | ||
cb(); | ||
}) | ||
.then(cb) | ||
.catch(function (ex) { | ||
@@ -25,0 +19,0 @@ console.log(ex); |
{ | ||
"name": "ng.cx.google.drive", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "angular 1.0 wrapper for google drive api written in typescript", | ||
@@ -5,0 +5,0 @@ "license": { |
@@ -10,16 +10,8 @@ /// <reference path="../../typings/tsd.d.ts" /> | ||
API.bootstrap('drive'); | ||
angular.module('ng.cx.google.drive', [ | ||
]) | ||
.service('google', [ | ||
function() { | ||
'use strict'; | ||
this.api = API; | ||
this.Auth = Auth; | ||
this.drive = Drive; | ||
this.DriveQuery = DriveQuery; | ||
} | ||
]); | ||
window['cxGoogleDrive'] = window['cxGoogleDrive'] || {}; | ||
window['cxGoogleDrive'].api = API; | ||
window['cxGoogleDrive'].Auth = Auth; | ||
window['cxGoogleDrive'].drive = Drive; | ||
window['cxGoogleDrive'].DriveQuery = DriveQuery; | ||
} | ||
} |
391651
7020