Skip to content

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

Merged
merged 4 commits into from
Nov 23, 2016
Merged

Conversation

IegorKozakov
Copy link
Contributor

@IegorKozakov IegorKozakov commented Nov 17, 2016

  • remove jQuery or Zepto dependency
  • minify quickblox.min.js

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);
Copy link
Contributor

@dimaspirit dimaspirit Nov 20, 2016

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure?

@dimaspirit
Copy link
Contributor

We are using npm commands. Like npm run develop or npm run build.
So add gulp compress to process by npm commands or include in gulp commands.

@soulfly
Copy link
Contributor

soulfly commented Nov 21, 2016

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",
Copy link
Contributor

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']);
Copy link
Contributor

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?

@dimaspirit dimaspirit merged commit 8892d56 into develop Nov 23, 2016
@dimaspirit dimaspirit deleted the develop.sprint5.ajaxLib branch November 23, 2016 12:59
dimaspirit added a commit that referenced this pull request Nov 30, 2016
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants