Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(929)

Side by Side Diff: lib/src/prism/components/prism-mel.min.js

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/src/prism/components/prism-mel.js ('k') | lib/src/prism/components/prism-mizar.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Prism.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,alia s:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:/"(? :\\.|[^\\"\r\n])*"/,variable:/\$\w+/,number:/(?:\b|-)(?:0x[\da-fA-F]+|\d+\.?\d*) /,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continu e|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|ve ctor|while)\b/,"function":/\w+(?=\()|\b(?:about|abs|addAttr|addAttributeEditorNo deHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceT oNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|align Ctx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone| animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName| applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper |art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool| artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUse rPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|at tachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp |attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNa vigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu |attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHist ory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|beve lPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel| blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCur ve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|CBG|cacheFile|cacheFil eCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|c apitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSu bdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize |chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFill et|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule| clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutp ut|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelection List|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|col orSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPor t|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|cond ition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint| connectionInfo|constrain|constrainValue|constructionHistory|container|containsMu ltibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap |convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|cop ySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClot hToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSea m|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|creat eDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField| createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduc t|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentT imeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curv eIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylind er|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defi neVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMate rials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachD eviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|d imWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disco nnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull |displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats |displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly| dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttr Context|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface| dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticl eCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLa yerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlob als|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDev ice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval| evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|ex ecuteForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|exte ndSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDi alog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|f ilterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe| findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|float Eq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderB uttonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|fl ushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFor mFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicat ionVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluid Attr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr |getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goa l|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|gra phSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|H fAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|Hf CancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateA S|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|harde nPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|help Line|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton| hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyper Panel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconT extRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|i kHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplay Method|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJoi ntCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|insta ncer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internal Var|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject| isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|it emFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDi splayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurre ntTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsert KeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKe yCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|l attice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPor t|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPane l|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|lis tCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|l istInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPane lCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|lo adFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|loca lizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType| lsUI|Mayatomr|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface |makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotate Context|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match| max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSe tPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|mo delPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection| multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespa ceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|node Type|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurb sCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygons Pref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExis ts|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPrevi ewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaP ref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerE ditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|p aneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|p aramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|pa rticleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performan ceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOpt ions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|p ointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|point Position|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|pol yAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|pol yBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|poly Clipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData| polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|pol yCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCu tCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVert ex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEval uate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV| polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|pol yListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMer geEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVe rtex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMo veVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|p olyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|pol yPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|poly Reduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx |polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPath Ctx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySpl itCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySub divideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulat e|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print| progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projection Context|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdE ditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_t o_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection| rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCur ve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|reference Query|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash| reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAtt r|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerBu tton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|re nderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindo wEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|rer oot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget |reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollC tx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|r owLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFlui d|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveTo olSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|s caleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|script Job|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollF ield|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectConte xt|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selec tPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setA ttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRest Position|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEdito r|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|s etKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|se tNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|set Project|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXf ormManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shading NetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|s hellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|show ShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|s ize|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothste p|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sor t|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPrevi ewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startSt ring|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|s tringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex |stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRe moveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|st rip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse |subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdM apSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToC ache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString| substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisp layPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tan gentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVS hellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestP athCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButto nGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|text ureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx| timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibilit y|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped| toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAtt ributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCach e|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate| unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|u ntitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfNa me|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookA t|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrow ser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle| wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&| \|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^ |[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},Prism.languag es.mel.code.inside.rest=Prism.util.clone(Prism.languages.mel);
OLDNEW
« no previous file with comments | « lib/src/prism/components/prism-mel.js ('k') | lib/src/prism/components/prism-mizar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698