New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typo error in module require #67
Comments
The browserify grunt task that builds angular-data creates an alias from Are you trying to |
Yes I am trying to use return browserify()
.require('lodash')
.require('angular/angular', {expose: 'angular'})
.require('angular-cache/src', {expose:'angular-cache'})
.require('angular-data/src', {expose:'angular-data'})
.bundle({debug:!deploy})
.pipe(source('lib.js'))
.pipe(gulp.dest(dist('./'))); |
Okay, I've never tried |
The snippet above was for creating a return browserify('./app/bootstrap.js')
.external('angular')
.external('angular-data')
.external('angular-cache')
.bundle({debug:!deploy})
.pipe(source('app.js'))
.pipe(gulp.dest(dist('./'))) And in my // from lib
require('angular');
require('angular-data');
require('angular-cache');
// my modules
require('./main');
require('./modules');
var app = angular.module('sb', ['sb.main', 'sb.modules', 'angular-data.DS', 'angular-data.DSCacheFactory'])
.run(function() {
console.log('App Initialized');
}); |
@VanthiyaThevan Try requiring the |
There are typo error in
src/datastore/sync_methods/digest.js
andsrc/datastore/sync_methods/injectjs
should be
var observe = require('observe-js')
instead of varobserve = require('observejs')
The text was updated successfully, but these errors were encountered: