code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
define('ace/mode/groovy', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/javascript', 'ace/tokenizer', 'ace/mode/groovy_highlight_rules'], function(require, exports, module) {
var oop = require("../lib/oop");
var JavaScriptMode = require("./javascript").Mode;
var Tokenizer = require("../tokenizer").Tokeni... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* The Original Code is Ajax.org Code Editor (ACE).
*
* Contributor(s):
* Jonathan Camile <jonathan.camile AT gmail DOT com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
define('ace/mode/golang', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/golang_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) {
var oop = require("../lib/oop");
var T... | JavaScript |
define('ace/mode/haxe', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/haxe_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) {
var oop = require("../lib/oop");
var TextMode = r... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Softw... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/**
* @fileoverview
* Registers a language handler for VHDL '93.
*
* Based on the lexical grammar and keywords at
* http://www.iis.ee.ethz.ch/~zimmi/download/vhdl93_syntax.html
*
* @author benoit@ryder.fr
*/
PR.registerLangHandler(
PR.createSimpleLexer(
[
// Whitespace
[PR.PR_PLAI... | JavaScript |
// Copyright (C) 2009 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | JavaScript |
// Copyright (C) 2009 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | JavaScript |
// Copyright (C) 2008 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | JavaScript |
// Copyright (C) 2008 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | JavaScript |
// Copyright (C) 2006 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | JavaScript |
// Copyright (C) 2008 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | JavaScript |
// Copyright (C) 2008 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | JavaScript |
// Copyright (C) 2009 Onno Hommes.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | JavaScript |
// Copyright (C) 2010 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | JavaScript |
// Contributed by ribrdb @ code.google.com
/**
* @fileoverview
* Registers a language handler for YAML.
*
* @author ribrdb
*/
PR.registerLangHandler(
PR.createSimpleLexer(
[
[PR.PR_PUNCTUATION, /^[:|>?]+/, null, ':|>?'],
[PR.PR_DECLARATION, /^%(?:YAML|TAG)[^#\r\n]+/, null, '%'],
[PR.PR_T... | JavaScript |
// Copyright (C) 2009 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | JavaScript |
// Copyright (C) 2009 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | JavaScript |
// Copyright (C) 2006 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | JavaScript |
function showResults(id)
{
var resultsDiv = document.getElementById(id + "-results");
var showLink = document.getElementById(id + "-showLink");
var hideLink = document.getElementById(id + "-hideLink");
if (resultsDiv)
{
resultsDiv.style.display = "block";
}
if (showLink)
{
... | JavaScript |
/* Alfresco Hello World zimlet object */
// Constants for web script services
var ALF_WS_URL_PREFIX = "/alfresco/service";
var ALF_WCWS_URL_PREFIX = "/alfresco/wcservice";
var ALF_LOGIN_SERVICE_URL = ALF_WS_URL_PREFIX + "/api/login";
var ALF_TICKET_SERVICE_URL = ALF_WS_URL_PREFIX + "/api/login/ticket/... | JavaScript |
AlfMimeTable = function() {
};
AlfMimeTable.list = ["text/javascript",
"application/x-javascript",
"application/vnd.oasis.opendocument.text",
"application/vnd.oasis.opendocument.text-template",
"application/vnd.oasis.opendocument.graphics",
"application/vnd.oasis.opendocument.graphics-template",
"application/... | JavaScript |
/**
* The check box marks a task complete. It is a simulated form field
* with three states ...
* 0=unchecked, 1=some children checked, 2=all children checked
* When a task is clicked, the state of the nodes and parent and children
* are updated, and this behavior cascades.
*
* @extends YAHOO.widget.Tex... | JavaScript |
/* Alfresco Integration zimlet object */
// Constants for web script services
var ALF_WS_URL_PREFIX = "/alfresco/service";
var ALF_WCWS_URL_PREFIX = "/alfresco/wcservice";
var ALF_LOGIN_SERVICE_URL = ALF_WS_URL_PREFIX + "/api/login";
var ALF_TICKET_SERVICE_URL = ALF_WS_URL_PREFIX + "/api/login/ticket/... | JavaScript |
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/json.js">
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/alfcommon.js">
function startsWith (str, pattern) {
return str.indexOf(pattern) === 0;
}
var result = {... | JavaScript |
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/json.js">
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/alfcommon.js">
var result = {};
result.version = server.version;
result.edition = server.edition;
resul... | JavaScript |
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/json.js">
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/alfcommon.js">
var result = {};
result.version = server.version;
result.edition = server.edition;
resul... | JavaScript |
/**
* Copyright (C) 2005-2007 Alfresco Software Limited.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
... | JavaScript |
/*
json.js
2007-09-27
Public Domain
This file adds these methods to JavaScript:
array.toJSONString(whitelist)
boolean.toJSONString()
date.toJSONString()
number.toJSONString()
object.toJSONString(whitelist)
string.toJSONString()
These methods... | JavaScript |
script:
{
var dbid = url.extension;
if ( dbid == null ) {
status.code = 400;
status.message = "DB id has not been provided.";
status.redirect = true;
break script;
} else {
var luceneQueryStr = "@sys\\:node-dbid:"+dbid;
var nodes = search.luceneSearch(luceneQueryStr);
if ( ... | JavaScript |
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/json.js">
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/alfcommon.js">
function startsWith (str, pattern) {
return str.indexOf(pattern) === 0;
}
function endsW... | JavaScript |
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/json.js">
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/alfcommon.js">
var node = null;
if ((args.n) && (args.n != ""))
{
node = search.findNode("workspace://Sp... | JavaScript |
/* Alfresco Hello World zimlet object */
// Constants for web script services
var ALF_WS_URL_PREFIX = "/alfresco/service";
var ALF_WCWS_URL_PREFIX = "/alfresco/wcservice";
var ALF_LOGIN_SERVICE_URL = ALF_WS_URL_PREFIX + "/api/login";
var ALF_TICKET_SERVICE_URL = ALF_WS_URL_PREFIX + "/api/login/ticket/... | JavaScript |
AlfMimeTable = function() {
};
AlfMimeTable.list = ["text/javascript",
"application/x-javascript",
"application/vnd.oasis.opendocument.text",
"application/vnd.oasis.opendocument.text-template",
"application/vnd.oasis.opendocument.graphics",
"application/vnd.oasis.opendocument.graphics-template",
"application/... | JavaScript |
/**
* The check box marks a task complete. It is a simulated form field
* with three states ...
* 0=unchecked, 1=some children checked, 2=all children checked
* When a task is clicked, the state of the nodes and parent and children
* are updated, and this behavior cascades.
*
* @extends YAHOO.widget.Tex... | JavaScript |
/**
* Copyright (C) 2005-2007 Alfresco Software Limited.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
... | JavaScript |
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/json.js">
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/alfcommon.js">
function startsWith (str, pattern) {
return str.indexOf(pattern) === 0;
}
var result = {... | JavaScript |
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/json.js">
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/alfcommon.js">
var result = {};
var status = true;
var msg = "";
// Define default value
var defaultEm... | JavaScript |
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/json.js">
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/alfcommon.js">
var result = {};
result.version = server.version;
result.edition = server.edition;
resul... | JavaScript |
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/json.js">
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/alfcommon.js">
var contentList = new Array();
var q = (args.q == null) ? "***" : args.q;
if ( q.length == ... | JavaScript |
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/json.js">
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/alfcommon.js">
var result = {};
result.version = server.version;
result.edition = server.edition;
resul... | JavaScript |
/**
* Copyright (C) 2005-2007 Alfresco Software Limited.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
... | JavaScript |
/*
json.js
2007-09-27
Public Domain
This file adds these methods to JavaScript:
array.toJSONString(whitelist)
boolean.toJSONString()
date.toJSONString()
number.toJSONString()
object.toJSONString(whitelist)
string.toJSONString()
These methods... | JavaScript |
script:
{
var dbid = url.extension;
if ( dbid == null ) {
status.code = 400;
status.message = "DB id has not been provided.";
status.redirect = true;
break script;
} else {
var luceneQueryStr = "@sys\\:node-dbid:"+dbid;
var nodes = search.luceneSearch(luceneQueryStr);
if ( ... | JavaScript |
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/json.js">
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/alfcommon.js">
function startsWith (str, pattern) {
return str.indexOf(pattern) === 0;
}
function endsW... | JavaScript |
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/json.js">
<import resource="/Company Home/Data Dictionary/Web Scripts Extensions/zimlets/org/alfresco/util/alfcommon.js">
var node = null;
if ((args.n) && (args.n != ""))
{
node = search.findNode("workspace://Sp... | JavaScript |
(function() {
YAHOO.Bubbling.fire("registerAction",
{
actionName: "onActionViewInNodeBrowser",
fn: function leftxmas_onActionViewInNodeBrowser(node) {
var nodeBrowserUrl = Alfresco.constants.URL_CONTEXT + "page/console/admin-console/node-browser#state=panel%3Dview";
var parameters = encode... | JavaScript |
(function() {
YAHOO.Bubbling.fire("registerAction",
{
actionName: "onActionViewInNodeBrowser",
fn: function leftxmas_onActionViewInNodeBrowser(node) {
var nodeBrowserUrl = Alfresco.constants.URL_CONTEXT + "page/console/admin-console/node-browser#state=panel%3Dview";
var parameters = encode... | JavaScript |
(function() {
YAHOO.Bubbling.fire("registerAction",
{
actionName: "onActionViewInNodeBrowser",
fn: function leftxmas_onActionViewInNodeBrowser(node) {
var nodeBrowserUrl = Alfresco.constants.URL_CONTEXT + "page/console/admin-console/node-browser#state=panel%3Dview";
var parameters = encode... | JavaScript |
var node;
var nodeRef = new Array();
var error = false;
// What node do we want to work on
nodeRef[0] = url.templateArgs.store_type;
nodeRef[1] = url.templateArgs.store_id;
nodeRef[2] = url.templateArgs.id;
if (nodeRef[0] == undefined || nodeRef[0].length == 0) {
error = true;
status.code = 400;
status.message = ... | JavaScript |
var node;
var nodeRef = new Array();
var simpleworkflow;
var error = false;
//Make sure the simpleworkflow object was passed in the json and get it
if (json.isNull("simpleworkflow")) {
error = true;
status.code = 400;
status.message = "simpleworkflow not found in json object";
status.... | JavaScript |
// This file is part of Mongoose project, http://code.google.com/p/mongoose
var chat = {
// Backend URL, string.
// 'http://backend.address.com' or '' if backend is the same as frontend
backendUrl: '',
maxVisibleMessages: 10,
errorMessageFadeOutTimeoutMs: 2000,
errorMessageFadeOutTimer: null,
lastMessage... | JavaScript |
/*
* Copyright (C) 2010 Zaizi Limited.
*
* Alfresco FISE is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Alfresco FI... | JavaScript |
/*
* Copyright (C) 2010 Zaizi Limited.
*
* Alfresco FISE is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Alfresco FI... | JavaScript |
/*
* Copyright (C) 2010 Zaizi Limited.
*
* Alfresco FISE is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Alf... | JavaScript |
/*
* Copyright (C) 2010 Zaizi Limited.
*
* Alfresco FISE is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Alf... | JavaScript |
/*
* Copyright (C) 2010 Zaizi Limited.
*
* Alfresco FISE is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Alf... | JavaScript |
/**
* Copyright (C) 2005-2010 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
... | JavaScript |
var Filters =
{
/**
* Type map to filter required types.
* NOTE: "documents" filter also returns folders to show UI hint about hidden folders.
*/
TYPE_MAP:
{
"documents": '+(TYPE:"content" OR TYPE:"app:filelink" OR TYPE:"folder")',
"folders": '+(TYPE:"folder" OR TYPE:"app:folde... | JavaScript |
<import resource="classpath:/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/evaluator.lib.js">
<import resource="classpath:/alfresco/extension/templates/webscripts/org/alfresco/slingshot/documentlibrary/filters.lib.js">
<import resource="classpath:/alfresco/templates/webscripts/org/alfresco/slin... | JavaScript |
/**
* Todo:
*
* Internet explorer
* - Internet explorer doesn't support background-size css property, so
* "loading images" don't view correctly when opening a directory
* - If directory/file name is too long, it wraps over text beneath it
*/
(function($j) {
var FileChooser = function(originalDomE... | JavaScript |
var JiveChooseContainer = $Class.extend({
/*
* Initialize the JiveChooseContainer object.
* @elementID The id of the choose container list - jive-choose-containers-result-block
* @contentType The type of content - 1 for thread, 102 for document
* @chooseContainerURL The url to reload the choose container list - ac... | JavaScript |
/*
* Copyright 2011-2012 Alfresco Software Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | JavaScript |
/*
* Copyright 2011-2012 Alfresco Software Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | JavaScript |
model.actionSet.push({
id: "onJiveActionSocialize",
type: "action-link",
permission: "Write",
asset: "document",
href: "",
label: "jive.menu.selected-items.socialize",
hasAspect: "",
notAspect: ""
}); | JavaScript |
all:
(cd ES/sphere; make all)
(cd ES/ras; make all)
clean:
(cd ES/sphere; make clean)
(cd ES/ras; make clean)
| JavaScript |
function br2nl(str) {
return str.replace(/<br\s*\/?>/mg,"\n");
}
function ajax(data, callback) {
$.ajax({
url: root + "ajax.php",
async: false,
type: "POST",
data: data,
success: function(output) {
var result = jQuery.parseJSON(output);
callback(r... | JavaScript |
/**
* Localization strings for the UI Multiselect widget
*
* @locale it, it-IT
*/
$.extend($.ui.multiselect, {
locale: {
addAll:'Aggiungi tutti',
removeAll:'Rimuovi tutti',
itemsCount:'elementi selezionati'
}
});
| JavaScript |
/**
* Localization strings for the UI Multiselect widget
*
* @locale fr, fr-FR, fr-CA
*/
$.extend($.ui.multiselect.locale, {
addAll:'Ajouter tout',
removeAll:'Supprimer tout',
itemsCount:'items sélectionnés'
});
| JavaScript |
/**
* Localization strings for the UI Multiselect widget
*
* @locale en, en-US
*/
$.extend($.ui.multiselect.locale, {
addAll:'Add all',
removeAll:'Remove all',
itemsCount:'items selected'
});
| JavaScript |
/**
* Localization strings for the UI Multiselect widget
*
* @locale pt, pt-BR
*/
$.extend($.ui.multiselect.locale, {
addAll:'Adicionar todos',
removeAll:'Remover todos',
itemsCount:'Itens selecionados'
});
| JavaScript |
/**
* Localization strings for the UI Multiselect widget
*
* @locale es, es-ES
*/
$.extend($.ui.multiselect.locale, {
addAll:'Agregar todos',
removeAll:'Remover todos',
itemsCount:'Objetos seleccionados'
}); | JavaScript |
/**
* Localization strings for the UI Multiselect widget
*
* @locale ja, ja-JP
*/
$.extend($.ui.multiselect.locale, {
addAll:'すべて選択',
removeAll:'すべて削除',
itemsCount:'個選択'
});
| JavaScript |
/**
* Localization strings for the UI Multiselect widget
*
* @locale de, de-DE, de-AT, de-CH
*/
$.extend($.ui.multiselect.locale, {
addAll:'Alle hinzufügen',
removeAll:'Alle entfernen',
itemsCount:'Einträge ausgewählt'
});
| JavaScript |
/**
* Localization strings for the UI Multiselect widget
*
* @locale ru, ru-RU
*/
$.extend($.ui.multiselect.locale, {
addAll:'Добавить все',
removeAll:'Удалить все',
itemsCount:'элементов выбрано'
});
| JavaScript |
/*
* jQuery UI Multiselect
*
* Authors:
* Michael Aufreiter (quasipartikel.at)
* Yanick Rochon (yanick.rochon[at]gmail[dot]com)
*
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* http://www.quasipartikel.at/multiselect/
*
*
* Depends:
* ui.core.js
* ui.sortab... | JavaScript |
/* http://keith-wood.name/localisation.html
Localisation assistance for jQuery v1.0.4.
Written by Keith Wood (kbwood{at}iinet.com.au) June 2007.
Dual licensed under the GPL (http://dev.jquery.com/browser/trunk/jquery/GPL-LICENSE.txt) and
MIT (http://dev.jquery.com/browser/trunk/jquery/MIT-LICENSE.txt)... | JavaScript |
/**
* jQuery.ScrollTo
* Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
* Dual licensed under MIT and GPL.
* Date: 3/9/2009
*
* @projectDescription Easy element scrolling using jQuery.
* http://flesler.blogspot.com/2007/10/jqueryscrollto.html
* Works with ... | JavaScript |
/*
* jQuery Iframe Transport Plugin 1.6.1
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2011, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
/*jslint unparam: true, nomen: true */
/*global define, window, document */
(fun... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.