This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| debug: pacman v5.2.1 - libalpm v12.0.1 | |
| debug: config: attempting to read file /etc/pacman.conf | |
| debug: config: new section 'options' | |
| debug: config: HoldPkg: pacman | |
| debug: config: HoldPkg: glibc | |
| debug: config: arch: x86_64 | |
| debug: config: SigLevel: Required | |
| debug: config: SigLevel: DatabaseOptional | |
| debug: config: LocalFileSigLevel: Optional |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| code.user.save() | |
| .catch(function(err){ | |
| debugger | |
| }) | |
| > console.log(err); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var Promise = require("bluebird"); | |
| Promise.resolve() | |
| .then(function(){ | |
| return sails.models.user.create(); | |
| }) | |
| .catch(function(err){ | |
| console.log(err); | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var Promise = require("bluebird"); | |
| Promise.resolve() | |
| .then(function(){ | |
| return sails.models.user.create(); | |
| }) | |
| .catch(function(err){ | |
| console.log(err); | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var Promise = require("bluebird"); | |
| function promisifyWaterline(action){ | |
| return new Promise(function(resolve,reject){ | |
| action | |
| .then(resolve) | |
| .catch(function(err){ | |
| throw new Error("lol"); | |
| }) | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Generated on 2014-10-23 using generator-angular 0.9.8 | |
| 'use strict'; | |
| // # Globbing | |
| // for performance reasons we're only matching one level down: | |
| // 'test/spec/{,*/}*.js' | |
| // use this if you want to recursively match all subfolders: | |
| // 'test/spec/**/*.js' | |
| module.exports = function (grunt) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var q = require("q"); | |
| module.exports = { | |
| test: function(req,res){ | |
| q() | |
| .then(function(){ | |
| return func1(); | |
| }) | |
| .then(function(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(){ | |
| angular | |
| .module('app') | |
| .config(italianLanguage); | |
| function italianLanguage($translateProvider){ | |
| //set the path for languages | |
| $translateProvider.useStaticFilesLoader({ | |
| prefix: '/languages/', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var Sjuga = Sjuga || {}; | |
| Sjuga.site.factory('sitePage', ['$resource', 'siteGlobal', '$q', | |
| function($resource, siteGlobal, $q) { | |
| // $resource wrapper that elaborates data after querying server | |
| return { | |
| query: query, | |
| get: get | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var Sjuga = Sjuga || {}; | |
| Sjuga.site.factory('sitePage', ['$resource', 'siteGlobal', '$q', | |
| function($resource, siteGlobal, $q) { | |
| // $resource wrapper that elaborates data after querying server | |
| return { | |
| query: query, | |
| get: get | |
| } |
NewerOlder