JavaScriptForFun
7 years agoUsing Chromium Headless master
gustavo [Fri, 28 Oct 2016 16:39:50 +0000 (18:39 +0200)]
Using Chromium Headless

7 years agoUsing chromium headless compiled by me.
gustavo [Wed, 19 Oct 2016 23:47:44 +0000 (01:47 +0200)]
Using chromium headless compiled by me.

See: https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md

7 years agogulp tasks: no way of using SharedWorkers as Blobs
gustavo [Mon, 29 Aug 2016 01:48:43 +0000 (03:48 +0200)]
gulp tasks: no way of using SharedWorkers as Blobs

7 years agostomp client: no way of using SharedWorkers without creating a mess. It is sad...
gustavo [Mon, 29 Aug 2016 01:46:13 +0000 (03:46 +0200)]
stomp client: no way of using SharedWorkers without creating a mess. It is sad...

7 years agostomp shared worker improvements
gustavo [Sun, 28 Aug 2016 23:00:18 +0000 (01:00 +0200)]
stomp shared worker improvements

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

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

7 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

7 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

7 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.

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

7 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 :(

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

7 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

7 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

7 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.

7 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

7 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

7 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

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

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

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

7 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

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

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

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

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

7 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

8 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

8 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

8 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

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

8 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

8 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.

8 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.

8 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

8 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)

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

8 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

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

8 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

8 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

8 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

8 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.

8 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

8 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

8 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

8 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

8 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

8 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.

8 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

8 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

8 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.

8 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

8 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

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

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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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)

8 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

8 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)

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

8 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 :)

8 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

8 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

8 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

8 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

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

8 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

8 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

8 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)