This file contains 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
{ | |
"1": { | |
"@name": "iso", | |
"@oid": "1", | |
"Description": "International Organization for Standardization (ISO)" | |
}, | |
"1.3": { | |
"@name": "identified-organization", | |
"@oid": "1.3", | |
"Description": "Organization identification schemes registered according to ISO/IEC 6523-2" |
This file contains 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
{ | |
"nodes": { | |
"1": { | |
"@oid": "1", | |
"element": { | |
"@name": "iso", | |
"@oid": "1", | |
"Description": "International Organization for Standardization (ISO)" | |
}, | |
"nodes": { |
This file contains 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
/// <reference path="../../typings/tsd.d.ts" /> | |
/// <reference path="../tsd.d.ts" /> | |
module nx.ui.modelParser { | |
var $module:ng.IModule = angular.module('nx.ui'); | |
export interface IModelParserScope extends ng.IScope { |
This file contains 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
/// <reference path="../../typings/tsd.d.ts" /> | |
/// <reference path="../tsd.d.ts" /> | |
module nx.ui.modelFormatter { | |
var $module:ng.IModule = angular.module('nx.ui'); | |
export interface IModelFormatterScope extends ng.IScope { |
This file contains 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
/// <reference path='../../typings/tsd.d.ts' /> | |
/// <reference path='../../typings/main.d.ts' /> | |
/// <reference path='../tsd.d.ts' /> | |
import path = require('path'); | |
import async = require('async'); | |
import glob = require("glob"); | |
import _ = require("lodash"); | |
import hooks = require("../loopback-hooks/loopback-hooks"); |
This file contains 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
/// <reference path='../../typings/tsd.d.ts' /> | |
import path = require('path'); | |
import async = require('async'); | |
function ModuleDef(server:any, next:Function):void { | |
var glob:any = require("glob"); | |
glob('local_modules/**/hooks/**/*.js', function (err:Error, hooks:Array<string>):void { |
This file contains 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
/// <reference path='../../typings/tsd.d.ts' /> | |
/// <reference path='../../local_modules/tsd.d.ts' /> | |
import path = require('path'); | |
import async = require('async'); | |
import _ = require('lodash'); | |
import IRemoteMethodCallbackFunction = loopback.IRemoteMethodCallbackFunction; | |
import IMySQLTableDefinition = loopback.IMySQLTableDefinition; | |
import IPersistenceModelItem = loopback.IPersistenceModelItem; |
This file contains 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
<App Theme="Basic"> | |
<JavaScript File="fuse-resource/fuse-resource.js" ux:Global="fuseResource" /> | |
<DockPanel> | |
<JavaScript> | |
var Observable = require("FuseJS/Observable"); |
This file contains 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
<link rel="import" href="../polymer/polymer.html"> | |
<polymer-element name="bbb-songkran2015"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
This file contains 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
module.exports = function (server) { | |
var router = server.loopback.Router(); | |
router.get('/whoami', function (req, res) { | |
var AccessToken = server.models.AccessToken; | |
AccessToken.findForRequest(req, {}, function (aux, accesstoken) { | |
if (accesstoken == undefined) { | |
res.status(401); |
NewerOlder