code
string
repo_name
string
path
string
language
string
license
string
size
int64
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveChangeList.h
Objective-C
asf20
2,031
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLQueryDrive.h
Objective-C
asf20
20,885
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveParentList.h
Objective-C
asf20
1,780
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveRevisionList.h
Objective-C
asf20
1,781
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveRevision.h
Objective-C
asf20
4,240
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveFileList.m
Objective-C
asf20
1,716
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLServiceDrive.h
Objective-C
asf20
2,055
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveAbout.h
Objective-C
asf20
6,290
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveChange.h
Objective-C
asf20
1,900
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveAppList.m
Objective-C
asf20
1,683
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveFileList.h
Objective-C
asf20
1,899
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveParentReference.m
Objective-C
asf20
1,537
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLQueryDrive.m
Objective-C
asf20
15,211
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveParentList.m
Objective-C
asf20
1,725
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveChildReference.m
Objective-C
asf20
1,522
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveAppList.h
Objective-C
asf20
1,810
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveChildReference.h
Objective-C
asf20
1,662
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDrivePermissionList.h
Objective-C
asf20
1,812
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveRevisionList.m
Objective-C
asf20
1,723
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveChildList.h
Objective-C
asf20
1,946
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveApp.h
Objective-C
asf20
3,602
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveApp.m
Objective-C
asf20
2,301
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDrive.h
Objective-C
asf20
1,455
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveChildList.m
Objective-C
asf20
1,742
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDrivePermission.m
Objective-C
asf20
1,786
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveAbout.m
Objective-C
asf20
4,783
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveFile.m
Objective-C
asf20
3,768
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveChangeList.m
Objective-C
asf20
1,749
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveParentReference.h
Objective-C
asf20
1,772
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveChange.m
Objective-C
asf20
1,512
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveRevision.m
Objective-C
asf20
2,027
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Services/Drive/Generated/GTLDriveFile.h
Objective-C
asf20
9,262
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Utilities/GTLBase64.m
Objective-C
asf20
4,608
/* Copyright (c) 2011 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Utilities/GTLUtilities.h
Objective-C
asf20
3,424
/* Copyright (c) 2011 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Utilities/GTLJSONParser.m
Objective-C
asf20
5,412
/* Copyright (c) 2012 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Utilities/GTLBase64.h
Objective-C
asf20
954
/* Copyright (c) 2011 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Utilities/GTLJSONParser.h
Objective-C
asf20
1,284
/* Copyright (c) 2011 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Utilities/GTLFramework.m
Objective-C
asf20
1,338
/* Copyright (c) 2011 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Utilities/GTLUtilities.m
Objective-C
asf20
12,655
// // Makes the value of GTL_TARGET_NAMESPACE a prefix for all GTL // library class names // // // To avoid global namespace issues, define GTL_TARGET_NAMESPACE to a short // string in your target if you are using the GTL library in a shared-code // environment like a plug-in. // // For example: -DGTL_TARGET_NAMESPA...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Utilities/GTLTargetNamespace.h
C
asf20
2,926
/* Copyright (c) 2011 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 to...
zyfbta-shiyan
objectivec/google-api-objectivec-client/Source/Utilities/GTLFramework.h
Objective-C
asf20
1,065
// Copyright 2012 Google Inc. All Rights Reserved. package com.example.android.notepad; import android.accounts.Account; import android.content.AbstractThreadedSyncAdapter; import android.content.ContentProviderClient; import android.content.Context; import android.content.SyncResult; import android.os.Bundle; /** ...
zyfbta-shiyan
android/src/com/example/android/notepad/DriveSyncAdapter.java
Java
asf20
1,038
// Copyright 2012 Google Inc. All Rights Reserved. package com.example.android.notepad; import com.google.android.gms.auth.UserRecoverableAuthException; import com.google.api.client.extensions.android.http.AndroidHttp; import com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential; import...
zyfbta-shiyan
android/src/com/example/android/notepad/DriveSyncer.java
Java
asf20
21,126
// Copyright 2012 Google Inc. All Rights Reserved. package com.example.android.notepad; import com.google.android.gms.auth.GoogleAuthUtil; import com.google.android.gms.common.AccountPicker; import com.google.api.client.googleapis.extensions.android.accounts.GoogleAccountManager; import android.accounts.Account; imp...
zyfbta-shiyan
android/src/com/example/android/notepad/Preferences.java
Java
asf20
6,927
// Copyright 2012 Google Inc. All Rights Reserved. package com.example.android.notepad; import android.app.Activity; import android.app.LoaderManager; import android.app.ProgressDialog; import android.content.ContentValues; import android.content.CursorLoader; import android.content.Loader; import android.database.Cu...
zyfbta-shiyan
android/src/com/example/android/notepad/TitleEditor.java
Java
asf20
6,646
/* * Copyright (C) 2007 The Android Open Source Project * * 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 appli...
zyfbta-shiyan
android/src/com/example/android/notepad/NotesList.java
Java
asf20
20,572
// Copyright 2012 Google Inc. All Rights Reserved. package com.example.android.notepad; import android.app.Service; import android.content.Intent; import android.os.IBinder; /** * Service for the DriveSyncAdapter. */ public class DriveSyncService extends Service { private static final Object sSyncAdapterLock = ...
zyfbta-shiyan
android/src/com/example/android/notepad/DriveSyncService.java
Java
asf20
704
/* * Copyright (C) 2007 The Android Open Source Project * * 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 appli...
zyfbta-shiyan
android/src/com/example/android/notepad/NotePadProvider.java
Java
asf20
29,806
/* * Copyright (C) 2007 The Android Open Source Project * * 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 appli...
zyfbta-shiyan
android/src/com/example/android/notepad/AndroidDrivePad.java
Java
asf20
4,004
/* * Copyright (C) 2007 The Android Open Source Project * * 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 appli...
zyfbta-shiyan
android/src/com/example/android/notepad/NotePad.java
Java
asf20
5,290
/* * Copyright (C) 2007 The Android Open Source Project * * 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 appli...
zyfbta-shiyan
android/src/com/example/android/notepad/NoteEditor.java
Java
asf20
27,438
class CreateUsers < ActiveRecord::Migration def up create_table :users do |t| t.string :profile_id t.string :email t.string :refresh_token end add_index :users, :profile_id end def down drop_table :users end end
zyfbta-shiyan
ruby/db/migrate/20120616003113_create_users.rb
Ruby
asf20
267
# Copyright (C) 2012 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 to in writ...
zyfbta-shiyan
ruby/main.rb
Ruby
asf20
6,816
source :gemcutter gem 'sinatra', :require => 'sinatra/base' gem 'thin', '~> 1.3' gem 'pg' gem 'sinatra-activerecord' gem 'google-api-client', '>= 0.4.4', :require => 'google/api_client' group :development do gem 'rake' gem 'sqlite3-ruby' end
zyfbta-shiyan
ruby/Gemfile
Ruby
asf20
250
'use strict'; var EditorState = { CLEAN:0, // NO CHANGES DIRTY:1, // UNSAVED CHANGES SAVE:2, // SAVE IN PROGRESS LOAD:3, // LOADING READONLY:4 }; google.load('picker', '1'); gapi.load('drive-share'); angular.module('app', ['app.filters', 'app.services', 'app.directives']) .constant('saveInter...
zyfbta-shiyan
ruby/app/js/app.js
JavaScript
asf20
683
'use strict'; function UserCtrl($scope, backend) { $scope.user = null; $scope.login = function () { backend.user().then(function (response) { $scope.user = response.data; }); } $scope.login(); } function EditorCtrl($scope, $location, $routeParams, $timeout, editor, doc, aut...
zyfbta-shiyan
ruby/app/js/controllers.js
JavaScript
asf20
2,484
'use strict'; /* Filters */ angular.module('app.filters', []) .filter('saveStateFormatter', function () { return function (state) { if (state == EditorState.DIRTY) { return 'You have unsaved changes'; } else if (state == EditorState.SAVE) { retur...
zyfbta-shiyan
ruby/app/js/filters.js
JavaScript
asf20
1,084
'use strict'; var module = angular.module('app.services', []); var ONE_HOUR_IN_MS = 1000 * 60 * 60; // Shared model for current document module.factory('doc', function ($rootScope) { var service = $rootScope.$new(true); service.dirty = false; service.lastSave = 0; service.timeSinc...
zyfbta-shiyan
ruby/app/js/services.js
JavaScript
asf20
7,269
'use strict'; var module = angular.module('app.directives', []); module.directive('aceEditor', function (editor) { return { retrict:'A', link:function (scope, element) { editor.rebind(element[0]); } }; }); module.directive('star', functi...
zyfbta-shiyan
ruby/app/js/directives.js
JavaScript
asf20
1,774
<div class="container-fluid"> <div id="doc-bar" class="row-fluid"> <span class="span4"> <h3 ng-show="doc.info.editable" class="doc-title" data-toggle="modal" href="#rename-dialog">{{doc.info.title}}</h3> <h3 ng-hide="doc.info.editable" class="doc-title">{{doc.info.title}}</h3> ...
zyfbta-shiyan
ruby/app/partials/editor.html
HTML
asf20
2,660
/* app css stylesheet */ #editor { position: absolute; top: 120px; bottom: 0px; left: 0px; right: 0px; } #doc-bar { line-height: 27px; } .doc-title { display:inline; padding-right: 12px; } .star { font-size: 22px; color: black; } .icon-star { color: yellow; -webkit-text-stroke: 1px black; } .pro...
zyfbta-shiyan
ruby/app/css/app.css
CSS
asf20
792
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>DrEdit</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <!-- Le styles --> <link href="css/bootstrap.css" rel="stylesheet"...
zyfbta-shiyan
ruby/app/index.html
HTML
asf20
3,134
/** * @license AngularJS v1.0.0 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) { 'use strict'; var directive = {}; var service = { value: {} }; var DEPENDENCIES = { 'angular.js': 'http://code.angularjs.org/angular-' + angular.version.full + '.min.js', ...
zyfbta-shiyan
ruby/app/lib/angular-1.0.0/angular-bootstrap-prettify-1.0.0.js
JavaScript
asf20
67,929
/** * Configuration for jstd scenario adapter */ var jstdScenarioAdapter = { relativeUrlPrefix: '/build/docs/' };
zyfbta-shiyan
ruby/app/lib/angular-1.0.0/jstd-scenario-adapter-config-1.0.0.js
JavaScript
asf20
120
/** * @license AngularJS v1.0.0 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) { 'use strict'; var directive = {}; directive.dropdownToggle = ['$document', '$location', '$window', function ($document, $location, $window) { var openElem...
zyfbta-shiyan
ruby/app/lib/angular-1.0.0/angular-bootstrap-1.0.0.js
JavaScript
asf20
4,516
/** * @license AngularJS v1.0.0 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) { 'use strict'; /** * @ngdoc overview * @name ngResource * @description */ /** * @ngdoc object * @name ngResource.$resource * @requires $http * * @description * A fa...
zyfbta-shiyan
ruby/app/lib/angular-1.0.0/angular-resource-1.0.0.js
JavaScript
asf20
15,889
/** * @license AngularJS v1.0.0 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT */ (function(window, document, undefined) { 'use strict'; //////////////////////////////////// /** * @ngdoc function * @name angular.lowercase * @function * * @description Converts the specified string to lowerca...
zyfbta-shiyan
ruby/app/lib/angular-1.0.0/angular-1.0.0.js
JavaScript
asf20
473,115
/*! * jQuery JavaScript Library v1.7.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
zyfbta-shiyan
ruby/app/lib/angular-1.0.0/angular-scenario-1.0.0.js
JavaScript
asf20
793,870
/** * @license AngularJS v1.0.0 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT * * TODO(vojta): wrap whole file into closure during build */ /** * @ngdoc overview * @name angular.mock * @description * * Namespace from 'angular-mocks.js' which contains testing related code. */ angular.moc...
zyfbta-shiyan
ruby/app/lib/angular-1.0.0/angular-mocks-1.0.0.js
JavaScript
asf20
54,707
/** * @license AngularJS v1.0.0 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) { 'use strict'; /** * @ngdoc overview * @name ngSanitize * @description */ /* * HTML Parser By Misko Hevery (misko@hevery.com) * based on: HTML Parser By John Resig (ejo...
zyfbta-shiyan
ruby/app/lib/angular-1.0.0/angular-sanitize-1.0.0.js
JavaScript
asf20
17,350
/** * @license AngularJS v1.0.0 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT */ ( /** * @ngdoc interface * @name angular.Module * @description * * Interface for configuring angular {@link angular.module modules}. */ function setupModuleLoader(window) { function ensure(obj, name, fact...
zyfbta-shiyan
ruby/app/lib/angular-1.0.0/angular-loader-1.0.0.js
JavaScript
asf20
9,113
/** * @license AngularJS v1.0.0 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT */ (function(window) { 'use strict'; /** * JSTestDriver adapter for angular scenario tests * * Example of jsTestDriver.conf for running scenario tests with JSTD: <pre> server: http://localhost:9877 load: ...
zyfbta-shiyan
ruby/app/lib/angular-1.0.0/jstd-scenario-adapter-1.0.0.js
JavaScript
asf20
5,784
/** * @license AngularJS v1.0.0 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) { 'use strict'; /** * @ngdoc overview * @name ngCookies */ angular.module('ngCookies', ['ng']). /** * @ngdoc object * @name ngCookies.$cookies * @requires $brows...
zyfbta-shiyan
ruby/app/lib/angular-1.0.0/angular-cookies-1.0.0.js
JavaScript
asf20
4,842
/* ***** 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/ * ...
zyfbta-shiyan
ruby/app/lib/ace/theme-tomorrow_night_blue.js
JavaScript
asf20
5,404
/* ***** 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/ * ...
zyfbta-shiyan
ruby/app/lib/ace/theme-cobalt.js
JavaScript
asf20
4,632
/* ***** 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/ * ...
zyfbta-shiyan
ruby/app/lib/ace/theme-clouds.js
JavaScript
asf20
4,092
/* ***** 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/ * ...
zyfbta-shiyan
ruby/app/lib/ace/theme-solarized_light.js
JavaScript
asf20
4,620
define('ace/mode/latex', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/latex_highlight_rules', 'ace/range'], function(require, exports, module) { var oop = require("../lib/oop"); var TextMode = require("./text").Mode; var Tokenizer = require("../tokenizer").Tokenizer; va...
zyfbta-shiyan
ruby/app/lib/ace/mode-latex.js
JavaScript
asf20
3,006
/* ***** 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/ * ...
zyfbta-shiyan
ruby/app/lib/ace/mode-svg.js
JavaScript
asf20
58,305
"no use strict"; var console = { log: function(msg) { postMessage({type: "log", data: msg}); } }; var window = { console: console }; var normalizeModule = function(parentId, moduleName) { // normalize plugin requires if (moduleName.indexOf("!") !== -1) { var chunks = moduleName.spl...
zyfbta-shiyan
ruby/app/lib/ace/worker-css.js
JavaScript
asf20
376,824
/* ***** 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/ * ...
zyfbta-shiyan
ruby/app/lib/ace/mode-less.js
JavaScript
asf20
20,181
/* ***** 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/ * ...
zyfbta-shiyan
ruby/app/lib/ace/mode-css.js
JavaScript
asf20
21,512
/* ***** 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/ * ...
zyfbta-shiyan
ruby/app/lib/ace/theme-tomorrow.js
JavaScript
asf20
4,929
"no use strict"; var console = { log: function(msg) { postMessage({type: "log", data: msg}); } }; var window = { console: console }; var normalizeModule = function(parentId, moduleName) { // normalize plugin requires if (moduleName.indexOf("!") !== -1) { var chunks = moduleName.spl...
zyfbta-shiyan
ruby/app/lib/ace/worker-coffee.js
JavaScript
asf20
323,787
/* vim:ts=4:sts=4:sw=4: * ***** 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://...
zyfbta-shiyan
ruby/app/lib/ace/mode-markdown.js
JavaScript
asf20
83,322
/* ***** 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/ * ...
zyfbta-shiyan
ruby/app/lib/ace/mode-scad.js
JavaScript
asf20
23,155
/* ***** 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/ * ...
zyfbta-shiyan
ruby/app/lib/ace/theme-tomorrow_night.js
JavaScript
asf20
5,185
/* ***** 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...
zyfbta-shiyan
ruby/app/lib/ace/mode-sh.js
JavaScript
asf20
8,374
/* ***** 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...
zyfbta-shiyan
ruby/app/lib/ace/mode-pgsql.js
JavaScript
asf20
55,509
/* ***** 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...
zyfbta-shiyan
ruby/app/lib/ace/mode-php.js
JavaScript
asf20
146,063
/* ***** 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/ * ...
zyfbta-shiyan
ruby/app/lib/ace/theme-pastel_on_dark.js
JavaScript
asf20
5,077
define('ace/mode/java', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/javascript', 'ace/tokenizer', 'ace/mode/java_highlight_rules'], function(require, exports, module) { var oop = require("../lib/oop"); var JavaScriptMode = require("./javascript").Mode; var Tokenizer = require("../tokenizer").Tokenizer;...
zyfbta-shiyan
ruby/app/lib/ace/mode-java.js
JavaScript
asf20
44,561
/* ***** 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/ * ...
zyfbta-shiyan
ruby/app/lib/ace/mode-coffee.js
JavaScript
asf20
16,016
/* ***** 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...
zyfbta-shiyan
ruby/app/lib/ace/mode-lua.js
JavaScript
asf20
17,222
/* ***** 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/ * ...
zyfbta-shiyan
ruby/app/lib/ace/mode-json.js
JavaScript
asf20
18,705
/* ***** 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/ * ...
zyfbta-shiyan
ruby/app/lib/ace/theme-vibrant_ink.js
JavaScript
asf20
4,715
/* ***** 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/ * ...
zyfbta-shiyan
ruby/app/lib/ace/theme-dawn.js
JavaScript
asf20
4,639
/* ***** BEGIN LICENSE BLOCK ***** * The Original Code is Ajax.org Code Editor (ACE). * * Contributor(s): * Meg Sharkey <megshark 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 GNU Lesser...
zyfbta-shiyan
ruby/app/lib/ace/mode-yaml.js
JavaScript
asf20
5,984
/* ***** 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/ * ...
zyfbta-shiyan
ruby/app/lib/ace/theme-kr_theme.js
JavaScript
asf20
4,670
/* ***** 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/ * ...
zyfbta-shiyan
ruby/app/lib/ace/mode-c9search.js
JavaScript
asf20
9,313