-
Notifications
You must be signed in to change notification settings - Fork 217
remove jQuery or Zepto dependency #173
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
Conversation
minify quickblox.min.js
}, function (err, compiledContent) { | ||
if (err) return console.error(err); | ||
fs.writeFile('./src/plugins/jquery.ajax.js', compiledContent, function (err) { | ||
if (err) return console.error(err); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also use notify for notify module about a crash process.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure?
We are using npm commands. Like |
plus + |
@@ -74,7 +77,7 @@ | |||
"scripts": { | |||
"setDependencies": "npm i && npm install -g gulp-cli && npm install -g jasmine", | |||
"lint": "jshint src --reporter=node_modules/jshint-stylish", | |||
"build": "npm run lint && gulp generate-build_version && gulp build", | |||
"build": "npm run lint && gulp generate-build_version && gulp build_min", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to build and minify. Like this "build": "npm run lint && gulp generate-build_version && gulp build && gulp minify"
gulp.task('watch', function () { | ||
gulp.watch(['./src/**/*.js'], ['build']); | ||
}); | ||
|
||
gulp.task('default', ['build', 'connect', 'watch']); | ||
gulp.task('default', ['build_sdk', 'connect', 'watch']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where are you find the task build_sdk
?
* rename qbRecorder to qbMediaRecorder * Add version and build version (#174) Make the property QB.version public; Added the property QB.versionBuild, also as public; Added the gulp generate-build_version task and added in npm run build; Show in samples (chat, webrtc) v.{version}.{versionBuild}; * remove jQuery or Zepto dependency (#173) * add a jquery.ajax as plugin * upd build version * Added JSDOC (API Refference) * Fix firefox WebRTC bugs (#178) * Upd Recorder (changed to qbMediaRecorder module) (#179) * Fixed bug (remove QB.Recorder) * remove QB.Recorder * upd recorder * upd npm install rimraf -g * final build * upd version
Uh oh!
There was an error while loading. Please reload this page.