JavaScriptForFun
8 years agostomp, shared worker improvements
gustavo [Sun, 28 Aug 2016 21:37:24 +0000 (23:37 +0200)]
stomp, shared worker improvements

8 years agostomp client, show JSON messages
gustavo [Sat, 27 Aug 2016 21:54:40 +0000 (23:54 +0200)]
stomp client, show JSON messages

8 years agostom client improvements:
gustavo [Fri, 26 Aug 2016 21:12:35 +0000 (23:12 +0200)]
stom client improvements:

- heart beat from client and server
- show error when server down
- show error when server does not send heart beat
- show debug information

8 years agogulp tasks: exclude index.html from gulp-rev
gustavo [Fri, 26 Aug 2016 20:03:29 +0000 (22:03 +0200)]
gulp tasks: exclude index.html from gulp-rev

8 years agoUsing js.spec instead of spec.js. SonarQube JavaScriptPlugin will skip spec.js from...
gustavo [Fri, 26 Aug 2016 02:05:49 +0000 (04:05 +0200)]
Using js.spec instead of spec.js. SonarQube JavaScriptPlugin will skip spec.js from statistics.

8 years agoshowcase, SonarQube configuration, missing links
gustavo [Sun, 21 Aug 2016 21:54:32 +0000 (23:54 +0200)]
showcase, SonarQube configuration, missing links

8 years agoSonarQube autodects languages since 4.1 version.
gustavo [Sun, 21 Aug 2016 21:40:21 +0000 (23:40 +0200)]
SonarQube autodects languages since 4.1 version.

No need of using sonar.language property anymore :)
Besides this property does not admit more than one language :(

8 years agousing SonarQube
gustavo [Sun, 21 Aug 2016 20:56:04 +0000 (22:56 +0200)]
using SonarQube

8 years agousing uibModal instead of modal / getting ready for using my custo SonarQube JavaScri...
gustavo [Sun, 21 Aug 2016 20:53:41 +0000 (22:53 +0200)]
using uibModal instead of modal / getting ready for using my custo SonarQube JavaScript plugin

8 years agoremoving no required JSON.parse before connect
gustavo [Sun, 12 Jun 2016 20:39:29 +0000 (22:39 +0200)]
removing no required JSON.parse before connect

8 years agostomp-websocket is no longer maintained. Using my own fork.
gustavo [Sun, 12 Jun 2016 16:48:44 +0000 (18:48 +0200)]
stomp-websocket is no longer maintained. Using my own fork.

8 years agoSTOMP: using sockjs-client instead of sockjs
gustavo [Sun, 22 May 2016 21:55:43 +0000 (23:55 +0200)]
STOMP: using sockjs-client instead of sockjs

8 years agoShared STOMP: importScripts working in Shared Worker when code inlined in Blob
gustavo [Sun, 22 May 2016 21:17:25 +0000 (23:17 +0200)]
Shared STOMP: importScripts working in Shared Worker when code inlined in Blob

8 years agoSTOMP shared worker: missing vm reference in shared-stomp controller
gustavo [Sun, 22 May 2016 21:16:38 +0000 (23:16 +0200)]
STOMP shared worker: missing vm reference in shared-stomp controller

8 years agostomp: automated shared workers
gustavo [Sun, 22 May 2016 20:13:06 +0000 (22:13 +0200)]
stomp: automated shared workers

8 years agogulp-my-tasks: inject workers
gustavo [Sun, 22 May 2016 20:10:50 +0000 (22:10 +0200)]
gulp-my-tasks: inject workers

8 years agoSTOMP: upgrade bower dependencies
gustavo [Sun, 22 May 2016 11:54:40 +0000 (13:54 +0200)]
STOMP: upgrade bower dependencies

8 years agogulp-my-tasks: upgrade npm dependencies
gustavo [Sun, 22 May 2016 11:47:50 +0000 (13:47 +0200)]
gulp-my-tasks: upgrade npm dependencies

8 years agoSTOMP with shared workers
gustavo [Sun, 22 May 2016 11:14:26 +0000 (13:14 +0200)]
STOMP with shared workers

8 years agoShared Worker, improvements
gustavo [Wed, 18 May 2016 23:06:55 +0000 (01:06 +0200)]
Shared Worker, improvements

8 years agoShared Workers improvements
gustavo [Tue, 17 May 2016 00:11:02 +0000 (02:11 +0200)]
Shared Workers improvements

8 years agoShared Workers
gustavo [Mon, 16 May 2016 21:48:30 +0000 (23:48 +0200)]
Shared Workers

8 years agostomp: update client for using full featured broker
gustavo [Sun, 8 May 2016 20:25:07 +0000 (22:25 +0200)]
stomp: update client for using full featured broker

8 years agoSTOMP client, text area improvements
gustavo [Fri, 29 Apr 2016 00:23:15 +0000 (02:23 +0200)]
STOMP client, text area improvements

8 years agostomp: improvements in client
gustavo [Mon, 25 Apr 2016 00:25:47 +0000 (02:25 +0200)]
stomp: improvements in client

8 years agoAngularJS: stomp client using SockJS
gustavo [Sun, 3 Apr 2016 19:48:50 +0000 (21:48 +0200)]
AngularJS: stomp client using SockJS

8 years agoAngularJS, STOMP client.
gustavo [Fri, 1 Apr 2016 00:51:57 +0000 (02:51 +0200)]
AngularJS, STOMP client.

8 years agoAngularJS: STOMP client with SockJS
gustavo [Thu, 31 Mar 2016 00:45:35 +0000 (02:45 +0200)]
AngularJS: STOMP client with SockJS

8 years agoAngularJS showcase, upgrade dependencies
gustavo [Wed, 30 Mar 2016 23:58:27 +0000 (01:58 +0200)]
AngularJS showcase, upgrade dependencies

8 years agogulp-my-tasks: upgrade versions
gustavo [Wed, 30 Mar 2016 23:57:04 +0000 (01:57 +0200)]
gulp-my-tasks: upgrade versions

8 years agoAngular2 showcase: index.html to src directory
gustavo [Sun, 21 Feb 2016 23:45:14 +0000 (00:45 +0100)]
Angular2 showcase: index.html to src directory

8 years agoAngular2 showcase
gustavo [Sun, 21 Feb 2016 23:35:08 +0000 (00:35 +0100)]
Angular2 showcase

8 years agoAngular2: express
gustavo [Mon, 15 Feb 2016 00:21:10 +0000 (01:21 +0100)]
Angular2: express

8 years agoAngular2: using typings instead of tsd
gustavo [Wed, 10 Feb 2016 00:00:13 +0000 (01:00 +0100)]
Angular2: using typings instead of tsd

8 years agoAngularJS: cars.constants.js, URI trailing slashes matters!!!
gustavo [Sat, 6 Feb 2016 12:45:49 +0000 (13:45 +0100)]
AngularJS: cars.constants.js, URI trailing slashes matters!!!

8 years agoAngularJS: cars.controller.js, upgrade bootstrap name spaces
gustavo [Sat, 6 Feb 2016 12:44:25 +0000 (13:44 +0100)]
AngularJS: cars.controller.js, upgrade bootstrap name spaces

8 years agoAngularJS showcase: update bower dependencies
gustavo [Sat, 6 Feb 2016 12:43:41 +0000 (13:43 +0100)]
AngularJS showcase: update bower dependencies

8 years agogulp: gulp-my-tasks, upgrade npm dependencies
gustavo [Sat, 6 Feb 2016 11:06:38 +0000 (12:06 +0100)]
gulp: gulp-my-tasks, upgrade npm dependencies

8 years agoangular2, first commit
gustavo [Thu, 4 Feb 2016 00:25:14 +0000 (01:25 +0100)]
angular2, first commit

8 years agogitignore: ignore jspm files
gustavo [Thu, 4 Feb 2016 00:23:49 +0000 (01:23 +0100)]
gitignore: ignore jspm files

8 years agoangularjs: upgrade bower dependencies
gustavo [Thu, 31 Dec 2015 13:36:01 +0000 (14:36 +0100)]
angularjs: upgrade bower dependencies

8 years agogulp-my-tasks: upgrade npm versions
gustavo [Thu, 31 Dec 2015 01:33:26 +0000 (02:33 +0100)]
gulp-my-tasks: upgrade npm versions

9 years agoMerge branch 'master' of https://github.com/gumartinm/JavaScriptForFun
gustavo [Sun, 15 Nov 2015 23:07:20 +0000 (00:07 +0100)]
Merge branch 'master' of https://github.com/gumartinm/JavaScriptForFun

Conflicts:
gulp/gulp-my-tasks/tasks/tasks.js

9 years agogulp-my-tasks: jscs rules and gulp plugin
gustavo [Sun, 15 Nov 2015 22:46:43 +0000 (23:46 +0100)]
gulp-my-tasks: jscs rules and gulp plugin

9 years agogulp-my-tasks: jscs rules and gulp plugin
gustavo [Sun, 15 Nov 2015 22:46:43 +0000 (23:46 +0100)]
gulp-my-tasks: jscs rules and gulp plugin

9 years agoupdate dependencies
gustavo [Wed, 11 Nov 2015 23:40:57 +0000 (00:40 +0100)]
update dependencies

9 years agoMerge branch 'master' of https://github.com/gumartinm/JavaScriptForFun
gustavo [Sun, 11 Oct 2015 18:47:20 +0000 (20:47 +0200)]
Merge branch 'master' of https://github.com/gumartinm/JavaScriptForFun

9 years agoshowcase: update dependencies versions. Also marked devDependency for gulp-ngdocs...
gustavo [Sun, 11 Oct 2015 18:39:30 +0000 (20:39 +0200)]
showcase: update dependencies versions. Also marked devDependency for gulp-ngdocs since npm v3 and its new flat dependencies.

9 years agoshowcase: update dependencies versions. Also marked devDependency for gulp-ngdocs...
gustavo [Sun, 11 Oct 2015 18:39:30 +0000 (20:39 +0200)]
showcase: update dependencies versions. Also marked devDependency for gulp-ngdocs since npm v3 and its new flat dependencies.

9 years agogulp-my-tasks: update dependencies versions
gustavo [Sun, 11 Oct 2015 18:37:58 +0000 (20:37 +0200)]
gulp-my-tasks: update dependencies versions

9 years agogulp-my-tasks: npm v3 flat dependencies (default gulp-ngdocs paths do not work anymore)
gustavo [Sun, 11 Oct 2015 18:36:32 +0000 (20:36 +0200)]
gulp-my-tasks: npm v3 flat dependencies (default gulp-ngdocs paths do not work anymore)

9 years agoshowcase: testing directive with bindToController
gustavo [Sat, 10 Oct 2015 15:11:22 +0000 (17:11 +0200)]
showcase: testing directive with bindToController

9 years agoshowcase: how to test REST service
gustavo [Sun, 27 Sep 2015 00:21:17 +0000 (02:21 +0200)]
showcase: how to test REST service

9 years agoshowcase: ngdoc improvements
gustavo [Fri, 25 Sep 2015 22:55:25 +0000 (00:55 +0200)]
showcase: ngdoc improvements

9 years agoshowcase: how to test REST service
gustavo [Fri, 25 Sep 2015 22:43:48 +0000 (00:43 +0200)]
showcase: how to test REST service

9 years agoshowcase: returning from success or error (legacy promises) doesn't resolve promise
Gustavo Martin Morcuende [Tue, 22 Sep 2015 23:28:43 +0000 (01:28 +0200)]
showcase: returning from success or error (legacy promises) doesn't resolve promise

9 years agoshowcase: some comments and opinions about spies and stubs in specs
Gustavo Martin Morcuende [Tue, 22 Sep 2015 01:16:23 +0000 (03:16 +0200)]
showcase: some comments and opinions about spies and stubs in specs

9 years agoshowcase: controller as, accessing to parent controller from child ones
Gustavo Martin Morcuende [Sat, 19 Sep 2015 15:14:53 +0000 (17:14 +0200)]
showcase: controller as, accessing to parent controller from child ones

It requires changing the names of controllers in HTML from something common (vm) to
something particular.

9 years agoshowcase: controllers same level and $scope.$on
Gustavo Martin Morcuende [Sat, 19 Sep 2015 13:37:40 +0000 (15:37 +0200)]
showcase: controllers same level and $scope.$on

9 years agoshowcase: using $q.resolve for returning promise from then
Gustavo Martin Morcuende [Thu, 17 Sep 2015 00:06:20 +0000 (02:06 +0200)]
showcase: using $q.resolve for returning promise from then

9 years agoshowcase: better way of testing thenable methods using $apply/$digest
Gustavo Martin Morcuende [Thu, 17 Sep 2015 00:04:22 +0000 (02:04 +0200)]
showcase: better way of testing thenable methods using $apply/$digest

9 years agoshowcase: broadcast, emit, on, rootScope, scope Unit Tests
Gustavo Martin Morcuende [Wed, 16 Sep 2015 00:58:58 +0000 (02:58 +0200)]
showcase: broadcast, emit, on, rootScope, scope Unit Tests

9 years agoshowcase: broadcast, emit, on, rootScope, scope
Gustavo Martin Morcuende [Sun, 13 Sep 2015 23:45:56 +0000 (01:45 +0200)]
showcase: broadcast, emit, on, rootScope, scope

9 years agoshowcase: renaming controllers to NameController and using always $scope and $rootSco...
Gustavo Martin Morcuende [Sun, 13 Sep 2015 23:44:53 +0000 (01:44 +0200)]
showcase: renaming controllers to NameController and using always $scope and $rootScope variables in specs.

9 years agoshowcase: compile/prelink/postlink/controller calling order
Gustavo Martin Morcuende [Sun, 13 Sep 2015 18:24:11 +0000 (20:24 +0200)]
showcase: compile/prelink/postlink/controller calling order

When having parent and child directives

9 years agoshowcase: change bower.json dependencies order
Gustavo Martin Morcuende [Sun, 13 Sep 2015 18:22:58 +0000 (20:22 +0200)]
showcase: change bower.json dependencies order

wiredep fills index.html following the dependencies order in bower.json and we
want jquery being declared before angular.js in index.html file

9 years agoshowcase: update bower.json for font-awesome
Gustavo Martin Morcuende [Sun, 13 Sep 2015 12:38:32 +0000 (14:38 +0200)]
showcase: update bower.json for font-awesome

New specification for main section in bower.json files doesn't work with wiredep as before.

9 years agoupdate to node v4.0.0
Gustavo Martin Morcuende [Sun, 13 Sep 2015 12:17:13 +0000 (14:17 +0200)]
update to node v4.0.0

9 years agoshowcase: having fun with promises and their states
Gustavo Martin Morcuende [Tue, 8 Sep 2015 23:38:30 +0000 (01:38 +0200)]
showcase: having fun with promises and their states

9 years agoshowcase: controller directive
Gustavo Martin Morcuende [Tue, 8 Sep 2015 22:03:49 +0000 (00:03 +0200)]
showcase: controller directive

9 years agoshowcase: directives, controllerAs
Gustavo Martin Morcuende [Mon, 7 Sep 2015 00:48:30 +0000 (02:48 +0200)]
showcase: directives, controllerAs

9 years agoshowcase: stubs
Gustavo Martin Morcuende [Sun, 30 Aug 2015 19:18:11 +0000 (21:18 +0200)]
showcase: stubs

9 years agoshowcase: renaming cars.route and welcome.route services
Gustavo Martin Morcuende [Sun, 30 Aug 2015 19:17:13 +0000 (21:17 +0200)]
showcase: renaming cars.route and welcome.route services

9 years agogulp-my-tasks: exclude stubs from ngdocs
Gustavo Martin Morcuende [Sun, 30 Aug 2015 19:16:16 +0000 (21:16 +0200)]
gulp-my-tasks: exclude stubs from ngdocs

9 years agoshowcase: testing Cars controller, mocking $modal and $modalInstance
Gustavo Martin Morcuende [Sun, 30 Aug 2015 17:46:30 +0000 (19:46 +0200)]
showcase: testing Cars controller, mocking $modal and $modalInstance

9 years agoshowcase: app.cars, testing $modal and promises
Gustavo Martin Morcuende [Sun, 30 Aug 2015 01:23:46 +0000 (03:23 +0200)]
showcase: app.cars, testing $modal and promises

9 years agoshowcase: cars-error-modal.controller.spec
Gustavo Martin Morcuende [Sat, 29 Aug 2015 23:20:30 +0000 (01:20 +0200)]
showcase: cars-error-modal.controller.spec

9 years agogulp-my-tasks: update jshintr, skip jasmine declaration
Gustavo Martin Morcuende [Sat, 29 Aug 2015 23:19:28 +0000 (01:19 +0200)]
gulp-my-tasks: update jshintr, skip jasmine declaration

9 years agoshowcase: cars.controller.spec creating spy without object
Gustavo Martin Morcuende [Sat, 29 Aug 2015 23:18:58 +0000 (01:18 +0200)]
showcase: cars.controller.spec creating spy without object

9 years agoshowcase: cars subapplication, ngdocs improvements
Gustavo Martin Morcuende [Sat, 29 Aug 2015 20:02:51 +0000 (22:02 +0200)]
showcase: cars subapplication, ngdocs improvements

9 years agoshowcase: renaming subapplication from rest to cars
Gustavo Martin Morcuende [Sat, 29 Aug 2015 19:57:50 +0000 (21:57 +0200)]
showcase: renaming subapplication from rest to cars

9 years agoshowcase: angularjs bootstrap modal
Gustavo Martin Morcuende [Sat, 29 Aug 2015 19:35:28 +0000 (21:35 +0200)]
showcase: angularjs bootstrap modal

9 years agogulp-my-tasks: retrieve project name form package.json
Gustavo Martin Morcuende [Sat, 29 Aug 2015 17:11:38 +0000 (19:11 +0200)]
gulp-my-tasks: retrieve project name form package.json

In this way, gulp-my-tasks can work with any project (if it follows my patterns)

9 years agoshowcase: rest.module.js ngdoc improvements
Gustavo Martin Morcuende [Fri, 28 Aug 2015 21:39:07 +0000 (23:39 +0200)]
showcase: rest.module.js ngdoc improvements

9 years agoshowcase: messing around with AngularJS $q (Promise)
Gustavo Martin Morcuende [Fri, 28 Aug 2015 18:09:25 +0000 (20:09 +0200)]
showcase: messing around with AngularJS $q (Promise)

9 years agoecma6: Promise
Gustavo Martin Morcuende [Thu, 27 Aug 2015 19:39:50 +0000 (21:39 +0200)]
ecma6: Promise

9 years agogulp-my-tasks: when injecting stubs into index.html we will also inject angular...
Gustavo Martin Morcuende [Thu, 27 Aug 2015 19:34:52 +0000 (21:34 +0200)]
gulp-my-tasks: when injecting stubs into index.html  we will also inject angular-mock

* angular-mock enables us to use ngMockE2E
* karma.conf.js requires $templateProvider. It is useful when templates in directives are located
      in html files instead of right in the code. We could also use karma-ng-html2js-preprocessor
      but in my case i don't need it because I am already generating my templates :)

9 years agogulp-my-tasks: print, show information about task running inject
Gustavo Martin Morcuende [Thu, 27 Aug 2015 01:22:31 +0000 (03:22 +0200)]
gulp-my-tasks: print, show information about task running inject

9 years agoshowcase: server directory is not required
Gustavo Martin Morcuende [Thu, 27 Aug 2015 01:08:59 +0000 (03:08 +0200)]
showcase: server directory is not required

9 years agogulp-my-tasks: wirdepoptions, show more informartion if verbose argument
Gustavo Martin Morcuende [Thu, 27 Aug 2015 00:53:06 +0000 (02:53 +0200)]
gulp-my-tasks: wirdepoptions, show more informartion if verbose argument

9 years agogulp-my-tasks: karma.conf.js in root directory of every project
Gustavo Martin Morcuende [Thu, 27 Aug 2015 00:36:18 +0000 (02:36 +0200)]
gulp-my-tasks: karma.conf.js in root directory of every project

Better integration with WebStorm

9 years agoshowcase: working with promises
Gustavo Martin Morcuende [Wed, 26 Aug 2015 20:12:13 +0000 (22:12 +0200)]
showcase: working with promises

9 years agoshowcase: REST service cars: get remote values
Gustavo Martin Morcuende [Wed, 26 Aug 2015 14:58:36 +0000 (16:58 +0200)]
showcase: REST service cars: get remote values

9 years agogulp-my-tasks: update karma.conf.js
Gustavo Martin Morcuende [Wed, 26 Aug 2015 14:57:47 +0000 (16:57 +0200)]
gulp-my-tasks: update karma.conf.js

9 years agogulp-my-tasks: using proxy for XHR requests (avoid CORS)
Gustavo Martin Morcuende [Wed, 26 Aug 2015 14:57:09 +0000 (16:57 +0200)]
gulp-my-tasks: using proxy for XHR requests (avoid CORS)

9 years agogulp-my-tasks: update .jshintrc, exclude afterEach and spyOn
Gustavo Martin Morcuende [Wed, 26 Aug 2015 14:56:23 +0000 (16:56 +0200)]
gulp-my-tasks: update .jshintrc, exclude afterEach and spyOn

9 years agoshowcase: AngularJS REST service, API CARS
Gustavo Martin Morcuende [Tue, 25 Aug 2015 19:19:28 +0000 (21:19 +0200)]
showcase: AngularJS REST service, API CARS

9 years agoshowcase: REST web services
Gustavo Martin Morcuende [Tue, 25 Aug 2015 06:31:14 +0000 (08:31 +0200)]
showcase: REST web services

9 years agoshowcase: update README.md
Gustavo Martin Morcuende [Tue, 25 Aug 2015 06:29:41 +0000 (08:29 +0200)]
showcase: update README.md

9 years agogulp-my-tasks: .jscsrc @methodOf validation
Gustavo Martin Morcuende [Tue, 25 Aug 2015 06:27:13 +0000 (08:27 +0200)]
gulp-my-tasks: .jscsrc @methodOf validation